summaryrefslogtreecommitdiffstats
path: root/ansible/node/roles/nas/templates/nfs_exports.j2
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/node/roles/nas/templates/nfs_exports.j2')
-rw-r--r--ansible/node/roles/nas/templates/nfs_exports.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/ansible/node/roles/nas/templates/nfs_exports.j2 b/ansible/node/roles/nas/templates/nfs_exports.j2
new file mode 100644
index 0000000..00bd867
--- /dev/null
+++ b/ansible/node/roles/nas/templates/nfs_exports.j2
@@ -0,0 +1,6 @@
+# NFS exports file generated by autocluster
+{% set fsid = 834258092 %}
+{% for s in shares %}
+"{{ s.directory }}" *(rw,no_root_squash,subtree_check,fsid={{ fsid }})
+ {% set fsid = fsid + 1 %}
+{% endfor %}