Add state for NFS server
This commit is contained in:
parent
9e50cc7a7f
commit
50cbea2abe
2 changed files with 59 additions and 0 deletions
15
states/nfsserver/exports
Normal file
15
states/nfsserver/exports
Normal 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)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue