From 9d394e4383c5bedef1a788c4b56d29502c306356 Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Wed, 7 Feb 2018 14:22:39 -0500 Subject: Use wait_for_connection to validate ssh transport is alive --- playbooks/gcp/openshift-cluster/build_image.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'playbooks/gcp') 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 -- cgit v1.2.3