bob/roles/nfs/defaults/main.yaml
Marty Oehme a5a6e297ff
feat(nfs): Restrict server to v4 by default
Can be changed with `nfs_v4_only=false` which defaults to true.

Information taken from: https://wiki.debian.org/NFSServerSetup
and applied directly through Ansible.

Currently _irreversible_, meaning once we set the server to v4 only
there is NO ansible-supported playbook to reset it to all NFSv2/3/4
versions.

Has to be done manually, or could be included as manually-run playbook.
2025-11-28 14:19:29 +01:00

9 lines
416 B
YAML

---
nfs_export_lines:
- "/srv/media 192.168.0.0/24(rw,async,no_subtree_check) 100.112.0.0/16(rw,async,no_subtree_check)"
- "/srv/files 192.168.0.0/24(rw,async,no_subtree_check) 100.112.0.0/16(rw,async,no_subtree_check)"
- "/mnt/ext/data/videos 192.168.0.0/24(rw,async,no_subtree_check) 100.112.0.0/16(rw,async,no_subtree_check)"
nfs_v4_only: true
nfs_v4_disable_rpcbind_fallback: false # needed by Debian 13