Преглед на файлове

Merge pull request #3240 from dgoodwin/ssh-host-restart

Fix host when waiting for a master system restart.
Scott Dodson преди 8 години
родител
ревизия
75efc666ba
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      playbooks/common/openshift-master/restart_hosts.yml

+ 2 - 1
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,