summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nfs/templates/exports.j2
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/nfs/templates/exports.j2')
-rw-r--r--ansible/roles/nfs/templates/exports.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/ansible/roles/nfs/templates/exports.j2 b/ansible/roles/nfs/templates/exports.j2
new file mode 100644
index 00000000..1f6956c2
--- /dev/null
+++ b/ansible/roles/nfs/templates/exports.j2
@@ -0,0 +1,3 @@
+{% for host in groups.kubernetes[1:] -%}
+ {{ nfs_mount_path }} {{ hostvars[host].ansible_host }}(rw,sync,no_root_squash,no_subtree_check)
+{% endfor %}