| commit | 8f8a7e0d2d29154781d3b48a5cc9247adf4a7002 | [log] [tgz] |
|---|---|---|
| author | Carlos Frias <cfrias@apigee.com> | Mon Sep 26 20:16:45 2016 -0400 |
| committer | Carlos Frias <cfrias@apigee.com> | Mon Sep 26 20:16:45 2016 -0400 |
| tree | 526383aeedfc1be5ef0417d076368c748b4fe16b | |
| parent | fc6b4bd62deb6df3b9720dcb70648e6619def0c2 [diff] |
updated rescue block
diff --git a/tasks/main.yml b/tasks/main.yml index a4d3723..effe9a5 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -27,7 +27,11 @@ async: 45 poll: 0 - rescue: + always: - name: Waiting for node to return - local_action: wait_for state=started host='{{ inventory_host }}' port=22 + wait_for: + state: started + host: '{{ ansible_ssh_host | default(inventory_hostname) }}' + port: 22 + delay: 60