From da3b290d4ad84a10e01cfffc8dbcdf3474f66af9 Mon Sep 17 00:00:00 2001 From: vincent Date: Mon, 26 Feb 2024 18:54:22 +0100 Subject: [PATCH] feat: enable crossmount in nfs share --- ansible/group_vars/NAS/nfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/group_vars/NAS/nfs b/ansible/group_vars/NAS/nfs index 02959dd..07a9b2f 100644 --- a/ansible/group_vars/NAS/nfs +++ b/ansible/group_vars/NAS/nfs @@ -1,4 +1,4 @@ -nfs_cluster_list: "{% for server in groups['all']%} {% if hostvars[server]['ansible_default_ipv4']['address'] is defined %} {{hostvars[server]['ansible_' + hostvars[server]['nfs_iface']|default('')].ipv4.address|default(hostvars[server]['ansible_default_ipv4']['address'],true)}}(rw,no_root_squash,async,insecure_locks,sec=sys) {% endif %} {%endfor%}" +nfs_cluster_list: "{% for server in groups['all']%} {% if hostvars[server]['ansible_default_ipv4']['address'] is defined %} {{hostvars[server]['ansible_' + hostvars[server]['nfs_iface']|default('')].ipv4.address|default(hostvars[server]['ansible_default_ipv4']['address'],true)}}(rw,no_root_squash,crossmnt,async,insecure_locks,sec=sys) {% endif %} {%endfor%}" nfs_consul_service: true nfs_bind_target: "/exports"