summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-02-01 09:31:09 -0500
committerGitHub <noreply@github.com>2017-02-01 09:31:09 -0500
commit75efc666ba792e2a29ad5d9ee71a9e9657c93d20 (patch)
treebd600b8d0cc17f0d2ec7874c317f39ec1eb4d882 /playbooks
parent80c24368564e2b8328c63d21902f54cb3ea12c4d (diff)
parentafff2bc16f779f8550ec152d7d5fd718c95e4109 (diff)
downloadopenshift-75efc666ba792e2a29ad5d9ee71a9e9657c93d20.tar.gz
openshift-75efc666ba792e2a29ad5d9ee71a9e9657c93d20.tar.bz2
openshift-75efc666ba792e2a29ad5d9ee71a9e9657c93d20.tar.xz
openshift-75efc666ba792e2a29ad5d9ee71a9e9657c93d20.zip
Merge pull request #3240 from dgoodwin/ssh-host-restart
Fix host when waiting for a master system restart.
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-master/restart_hosts.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/playbooks/common/openshift-master/restart_hosts.yml b/playbooks/common/openshift-master/restart_hosts.yml
index 832301e3d..475144dbf 100644
--- a/playbooks/common/openshift-master/restart_hosts.yml
+++ b/playbooks/common/openshift-master/restart_hosts.yml
@@ -10,9 +10,10 @@
- name: Wait for master to restart
local_action:
module: wait_for
- host="{{ inventory_hostname }}"
+ host="{{ ansible_host }}"
state=started
delay=10
+ timeout=600
become: no
# Now that ssh is back up we can wait for API on the remote system,