summaryrefslogtreecommitdiffstats
path: root/playbooks/provisioning/openstack/post-provision-openstack.yml
diff options
context:
space:
mode:
authorBogdan Dobrelya <bdobreli@redhat.com>2017-07-27 15:39:42 +0200
committerGitHub <noreply@github.com>2017-07-27 15:39:42 +0200
commit1b76aeba44ce8cb1120a6659c375fe8b4c87f919 (patch)
tree4c43dfdfefcc139249458606c9c4edefc1c38c32 /playbooks/provisioning/openstack/post-provision-openstack.yml
parent5cbcfd231054b0f64d9bc70064ecdb892cfbaec5 (diff)
parentdf8f5f0e251a014ab30dabd62c17e151b7fe36e8 (diff)
downloadopenshift-1b76aeba44ce8cb1120a6659c375fe8b4c87f919.tar.gz
openshift-1b76aeba44ce8cb1120a6659c375fe8b4c87f919.tar.bz2
openshift-1b76aeba44ce8cb1120a6659c375fe8b4c87f919.tar.xz
openshift-1b76aeba44ce8cb1120a6659c375fe8b4c87f919.zip
Merge pull request #535 from bogdando/bastion_inventory
Options for bastion, SSH config, static inventory autogeneration
Diffstat (limited to 'playbooks/provisioning/openstack/post-provision-openstack.yml')
-rw-r--r--playbooks/provisioning/openstack/post-provision-openstack.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/playbooks/provisioning/openstack/post-provision-openstack.yml b/playbooks/provisioning/openstack/post-provision-openstack.yml
index a807c4d2f..c7df74a87 100644
--- a/playbooks/provisioning/openstack/post-provision-openstack.yml
+++ b/playbooks/provisioning/openstack/post-provision-openstack.yml
@@ -4,7 +4,11 @@
become: False
gather_facts: False
tasks:
- - wait_for_connection:
+ - when: not openstack_use_bastion|default(False)|bool
+ wait_for_connection:
+ - when: openstack_use_bastion|default(False)|bool
+ delegate_to: bastion
+ wait_for_connection:
- hosts: cluster_hosts
gather_facts: True