netz39-infra-ansible/host-plumbum.yml
Alexander Dahl 7e5b723a3a 🚨 roles: nfs_host: Rename
Roles names are expected to be lower case with underscores only,
see ansible-lint warning:

    % ansible-lint -t role-name
    WARNING  Listing 1 violation(s) that are fatal
    role-name: Role name nfs-host does not match ``^[a-z][a-z0-9_]*$`` pattern.
    roles/nfs-host:1

    Read documentation for instructions on how to ignore specific rule violations.

                 Rule Violation Summary
     count tag       profile rule associated tags
         1 role-name basic   deprecations, metadata

    Failed after min profile: 1 failure(s), 0 warning(s) on 135 files.

Fixes: 2138870520 ("nfs server wird nicht im k3s laufen, labeling entfernt")
2025-02-28 08:49:18 +01:00

14 lines
379 B
YAML

---
- hosts: plumbum.n39.eu
become: true
roles:
- role: nfs_host
vars:
nfs_host_exports:
- directory: "/srv/nfs/backup"
hosts: "*.n39.eu"
options: rw,sync,no_subtree_check,no_root_squash
- directory: "/srv/nfs/ephemeral"
hosts: "*.n39.eu"
options: rw,sync,no_subtree_check,no_root_squash