feat: enable crossmount in nfs share

This commit is contained in:
vincent 2024-02-26 18:54:22 +01:00
parent 5718968407
commit da3b290d4a

View File

@ -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_consul_service: true
nfs_bind_target: "/exports" nfs_bind_target: "/exports"