Add state for NFS server

This commit is contained in:
Jan Dittberner 2020-03-04 16:20:20 +01:00
parent 9e50cc7a7f
commit 50cbea2abe
2 changed files with 59 additions and 0 deletions

15
states/nfsserver/exports Normal file
View file

@ -0,0 +1,15 @@
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
#
{{ nfs_root }} *(rw,async,fsid=root,crossmnt,no_subtree_check)
{{ nfs_root }}/web web(rw,async,no_root_squash,no_subtree_check)
{{ nfs_root }}/mail mail(rw,async,no_subtree_check) migimap(rw,async,no_subtree_check)