diff --git a/roles/nfs-client/tasks/mountFileSystem.yml b/roles/nfs-client/tasks/mountFileSystem.yml index 6666e762bdfa88952f9bd16caf2e5c69a37ef048..2b54ceb2596712089f8668c9f78eda1e4047d461 100644 --- a/roles/nfs-client/tasks/mountFileSystem.yml +++ b/roles/nfs-client/tasks/mountFileSystem.yml @@ -1,7 +1,7 @@ --- - name: "Get the NFS Network" - setup: filter="ansible_tun0" + setup: register: nfsServer run_once: true delegate_to: "{{ nfs_server }}"