From 5b93a1fec6217f493456f41010669ea9c7800870 Mon Sep 17 00:00:00 2001 From: vincent Date: Sat, 23 Dec 2023 20:51:28 +0100 Subject: [PATCH] fix: switch nfs auth to IP --- ansible/group_vars/NAS/main | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/group_vars/NAS/main b/ansible/group_vars/NAS/main index 7bb7d26..847627e 100644 --- a/ansible/group_vars/NAS/main +++ b/ansible/group_vars/NAS/main @@ -1,4 +1,4 @@ -nfs_cluster_list: "{% for server in groups['all']%}{{ hostvars[server]['inventory_hostname'] }}.{{ nfs_domain_name }}(rw,no_root_squash,async,insecure_locks,sec=sys) {%endfor%}" +nfs_cluster_list: "{% for server in groups['all']%}{{ hostvars[server]['ansible_default_ipv4']['address'] }}(rw,no_root_squash,async,insecure_locks,sec=sys) {%endfor%}" nfs_exports: