Fix wait for hosts in CI (#1679)

Also fix usage of failed_when and handling exit code.
This commit is contained in:
Matthew Mosesohn
2017-09-20 14:30:09 +01:00
committed by GitHub
parent ef8e35e39b
commit 188bae142b
3 changed files with 8 additions and 8 deletions

View File

@@ -63,4 +63,4 @@
gather_facts: false
tasks:
- name: Wait for SSH to come up.
local_action: wait_for host={{ansible_host}} port=22 delay=60 timeout=240 state=started
local_action: wait_for host={{inventory_hostname}} port=22 delay=60 timeout=240 state=started