diff options
author | Thomas Wiest <twiest@gmail.com> | 2014-10-30 16:52:44 -0400 |
---|---|---|
committer | Thomas Wiest <twiest@gmail.com> | 2014-10-30 16:52:44 -0400 |
commit | c292781afdcb57ee097f0840342b19a626d2a2c4 (patch) | |
tree | 1c1e004039a2f42730b385633462197a5c463e30 /playbooks/gce/openshift-minion | |
parent | d57f8d6968f0b580d3201df197eda98ed5f8fe19 (diff) | |
parent | 317d20d2cd7847ac295e63015c540a882f77964e (diff) | |
download | openshift-c292781afdcb57ee097f0840342b19a626d2a2c4.tar.gz openshift-c292781afdcb57ee097f0840342b19a626d2a2c4.tar.bz2 openshift-c292781afdcb57ee097f0840342b19a626d2a2c4.tar.xz openshift-c292781afdcb57ee097f0840342b19a626d2a2c4.zip |
Merge pull request #22 from twiest/pr
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 |