Explorar o código

Use wait_for_connection to validate ssh transport is alive

Scott Dodson %!s(int64=7) %!d(string=hai) anos
pai
achega
9d394e4383
Modificáronse 1 ficheiros con 6 adicións e 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