From 317d20d2cd7847ac295e63015c540a882f77964e Mon Sep 17 00:00:00 2001 From: Thomas Wiest Date: Thu, 30 Oct 2014 16:40:52 -0400 Subject: cleaned up unused GCE host types, changed back to using gce.ini, and added a better ssh detection on launch. --- playbooks/gce/openshift-master/launch.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'playbooks/gce/openshift-master') diff --git a/playbooks/gce/openshift-master/launch.yml b/playbooks/gce/openshift-master/launch.yml index 0a3ac3fdd..f2800b061 100644 --- a/playbooks/gce/openshift-master/launch.yml +++ b/playbooks/gce/openshift-master/launch.yml @@ -34,5 +34,14 @@ - debug: var=gce + - name: Wait for root user setup + command: "ssh -o StrictHostKeyChecking=no -o PasswordAuthentication=no -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null root@{{ item.public_ip }} echo root user is setup" + register: result + until: result.rc == 0 + retries: 20 + delay: 10 + with_items: gce.instance_data + + # Apply the configs, separate so that just the configs can be run by themselves - include: config.yml -- cgit v1.2.3