summaryrefslogtreecommitdiffstats
path: root/playbooks/provisioning/openstack/provision-openstack.yml
diff options
context:
space:
mode:
authorBogdan Dobrelya <bdobreli@redhat.com>2017-06-30 11:30:31 +0200
committerGitHub <noreply@github.com>2017-06-30 11:30:31 +0200
commit47f262e1d3350786e5890ef85cec212b298df50b (patch)
treed4521c1340f0d875ada9bd7f43cd279c5a982dc9 /playbooks/provisioning/openstack/provision-openstack.yml
parent71c4d2fb1d6bcada1824f74ef932ce3e890d5ae9 (diff)
parentd705cb2586680f3e747ef2917bd4640504629acf (diff)
downloadopenshift-47f262e1d3350786e5890ef85cec212b298df50b.tar.gz
openshift-47f262e1d3350786e5890ef85cec212b298df50b.tar.bz2
openshift-47f262e1d3350786e5890ef85cec212b298df50b.tar.xz
openshift-47f262e1d3350786e5890ef85cec212b298df50b.zip
Merge pull request #523 from tomassedovic/wait_for_connection
Use wait_for_connection for the Heat nodes
Diffstat (limited to 'playbooks/provisioning/openstack/provision-openstack.yml')
-rw-r--r--playbooks/provisioning/openstack/provision-openstack.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/playbooks/provisioning/openstack/provision-openstack.yml b/playbooks/provisioning/openstack/provision-openstack.yml
index feea15d5d..5d521432b 100644
--- a/playbooks/provisioning/openstack/provision-openstack.yml
+++ b/playbooks/provisioning/openstack/provision-openstack.yml
@@ -39,14 +39,18 @@
- meta: refresh_inventory
- hosts: cluster_hosts
+ name: Wait for the the nodes to come up
+ become: False
+ gather_facts: False
+ tasks:
+ - wait_for_connection:
+
+- hosts: cluster_hosts
gather_facts: True
tasks:
- name: Debug hostvar
debug:
msg: "{{ hostvars[inventory_hostname] }}"
verbosity: 2
- - name: waiting for server to come back
- local_action: wait_for host={{ hostvars[inventory_hostname]['ansible_ssh_host'] }} port=22 delay=30 timeout=300
- become: false
- include: post-provision-openstack.yml