Browse Source

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

Use wait_for_connection to validate ssh transport is alive
Scott Dodson 7 years ago
parent
commit
13ebefef2b
1 changed files with 6 additions and 0 deletions
  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