summaryrefslogtreecommitdiffstats
path: root/playbooks/gcp
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2018-02-07 14:22:39 -0500
committerScott Dodson <sdodson@redhat.com>2018-02-07 14:22:39 -0500
commit9d394e4383c5bedef1a788c4b56d29502c306356 (patch)
tree39a2e780d72115390240a68831062a6c3029430a /playbooks/gcp
parentec8e4df522d842b6d7dddebce006e1195237efeb (diff)
downloadopenshift-9d394e4383c5bedef1a788c4b56d29502c306356.tar.gz
openshift-9d394e4383c5bedef1a788c4b56d29502c306356.tar.bz2
openshift-9d394e4383c5bedef1a788c4b56d29502c306356.tar.xz
openshift-9d394e4383c5bedef1a788c4b56d29502c306356.zip
Use wait_for_connection to validate ssh transport is alive
Diffstat (limited to 'playbooks/gcp')
-rw-r--r--playbooks/gcp/openshift-cluster/build_image.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/playbooks/gcp/openshift-cluster/build_image.yml b/playbooks/gcp/openshift-cluster/build_image.yml
index 787de8ebc..0daf61122 100644
--- a/playbooks/gcp/openshift-cluster/build_image.yml
+++ b/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