b0324cf3fe
- nfs_server: nfs_package_name (nfs-utils / nfs-kernel-server) - wireguard: wireguard_package_name (wireguard-tools / wireguard) - tooling: tooling_dig_package, tooling_netcat_package Also fix tooling role structure: move tooling.yml to tasks/main.yml so the role is actually invokable via 'role: tooling' (defaults/main.yml is auto-loaded), and collapse the 10 individual package tasks into a single list-based install.
23 lines
659 B
YAML
23 lines
659 B
YAML
---
|
|
# Example:
|
|
# nfs_shares:
|
|
# - dir: "/srv/nfs/photos"
|
|
# clients:
|
|
# - host: "192.168.1.100" # privileged user with write a access
|
|
# options: "rw,sync,no_subtree_check,all_squash,anonuid=1000,anongid=1000,insecure"
|
|
# - host: "192.168.1.0/24" # readonly access for other lan clients
|
|
# options: "ro,sync,no_subtree_check"
|
|
nfs_shares: []
|
|
nfs_configuration_file: "/etc/nfs.conf"
|
|
|
|
nfs_exports_file: "/etc/exports"
|
|
|
|
nfs_port: 2049
|
|
|
|
nfs_server_firewall_allowed_sources:
|
|
- 127.0.0.0/8
|
|
|
|
# OS-dependent package name
|
|
nfs_package_name: >-
|
|
{{ (ansible_facts['os_family'] == 'Archlinux') | ternary('nfs-utils', 'nfs-kernel-server') }}
|