Explorar el Código

Use wait_for_connection to validate ssh transport is alive

Scott Dodson hace 7 años
padre
commit
9d394e4383
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  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