Procházet zdrojové kódy

Merge pull request #7056 from sdodson/gcp-wait-for-connection

Use wait_for_connection to validate ssh transport is alive
Scott Dodson před 7 roky
rodič
revize
13ebefef2b
1 změnil soubory, kde provedl 6 přidání a 0 odebrání
  1. 6 0
      playbooks/gcp/openshift-cluster/build_image.yml

+ 6 - 0
playbooks/gcp/openshift-cluster/build_image.yml

@@ -62,6 +62,12 @@
       timeout: 120
     with_items: "{{ gce.instance_data }}"
 
+- name: Wait for full SSH connection
+  hosts: nodes
+  gather_facts: no
+  tasks:
+  - wait_for_connection:
+
 - hosts: nodes
   tasks:
   - name: Set facts