Skip to content

Commit

Permalink
NFS server: export filesystems with crossmnt + no_subtree_check b…
Browse files Browse the repository at this point in the history
…y default.

Although slightly insecure, these options make NFS mounts behave more
like local mounts, which is what most of us expect.  And then there's
always the possibility of overriding default options if you don't like it.
  • Loading branch information
riccardomurri committed May 26, 2016
1 parent be12649 commit 4af065c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
nfsexport:
path='{{item.path}}'
clients='{{item.clients}}'
options='{{item.options|default("rw,no_root_squash,async")}}'
options='{{item.options|default("rw,no_root_squash,async,no_subtree_check,crossmnt")}}'
dest='/etc/exports'
state=exported
with_items: '{{NFS_EXPORTS}}'
Expand Down

0 comments on commit 4af065c

Please sign in to comment.