diff options
author | Thomas Wiest <twiest@redhat.com> | 2014-10-30 16:40:52 -0400 |
---|---|---|
committer | Thomas Wiest <twiest@redhat.com> | 2014-10-30 16:40:52 -0400 |
commit | 317d20d2cd7847ac295e63015c540a882f77964e (patch) | |
tree | 1c1e004039a2f42730b385633462197a5c463e30 /playbooks/gce/openshift-minion | |
parent | d57f8d6968f0b580d3201df197eda98ed5f8fe19 (diff) | |
download | openshift-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-minion')
-rw-r--r-- | playbooks/gce/openshift-minion/launch.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/playbooks/gce/openshift-minion/launch.yml b/playbooks/gce/openshift-minion/launch.yml index 0a3ac3fdd..f2800b061 100644 --- a/playbooks/gce/openshift-minion/launch.yml +++ b/playbooks/gce/openshift-minion/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 |