diff --git a/nas.yaml b/nas.yaml index 8c24ab6..92c4702 100644 --- a/nas.yaml +++ b/nas.yaml @@ -14,9 +14,10 @@ mac: '54:04:a6:f1:9b:80' - name: Wait nas is responding - wait_for: - timeout: 90 - delegate_to: localhost + wait_for_connection: + timeout: 120 + delay: 5 + sleep: 5 - name: Gathering facts setup: @@ -28,7 +29,7 @@ - name: Mount nas volume ansible.posix.mount: - src: 192.168.178.50:/data + src: 192.168.178.50:/export/data path: /media/nas state: mounted fstype: nfs