From e5404b5d475c056c1a30047356f75b2cdc396f40 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 29 Jan 2023 14:47:09 +0100 Subject: [PATCH] fix: nfs role execution --- ansible/group_vars/NAS/main | 2 +- ansible/molecule/default/molecule.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ansible/group_vars/NAS/main b/ansible/group_vars/NAS/main index bd76058..5c35545 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]}} (rw,async,all_squash,insecure_locks,sec=sys,anonuid=1024,anongid=100) {%endfor%}" +nfs_cluster_list: "{% for server in groups['all']%}{{hostvars[server]['inventory_hostname']}}(rw,async,insecure_locks,sec=sys,anonuid=1000001,anongid=100) {%endfor%}" nfs_exports: diff --git a/ansible/molecule/default/molecule.yml b/ansible/molecule/default/molecule.yml index c584774..7bfe628 100644 --- a/ansible/molecule/default/molecule.yml +++ b/ansible/molecule/default/molecule.yml @@ -25,7 +25,6 @@ platforms: cpu: 1 memory: 1024 box: archlinux/archlinux - provisioner: name: ansible connection_options: