summaryrefslogtreecommitdiffstats
path: root/playbooks/gce/openshift-master
diff options
context:
space:
mode:
authorThomas Wiest <twiest@redhat.com>2014-10-30 16:40:52 -0400
committerThomas Wiest <twiest@redhat.com>2014-10-30 16:40:52 -0400
commit317d20d2cd7847ac295e63015c540a882f77964e (patch)
tree1c1e004039a2f42730b385633462197a5c463e30 /playbooks/gce/openshift-master
parentd57f8d6968f0b580d3201df197eda98ed5f8fe19 (diff)
downloadopenshift-317d20d2cd7847ac295e63015c540a882f77964e.tar.gz
openshift-317d20d2cd7847ac295e63015c540a882f77964e.tar.bz2
openshift-317d20d2cd7847ac295e63015c540a882f77964e.tar.xz
openshift-317d20d2cd7847ac295e63015c540a882f77964e.zip
cleaned up unused GCE host types, changed back to using gce.ini, and added a better ssh detection on launch.
Diffstat (limited to 'playbooks/gce/openshift-master')
-rw-r--r--playbooks/gce/openshift-master/launch.yml9
1 files changed, 9 insertions, 0 deletions
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