summaryrefslogtreecommitdiffstats
path: root/playbooks/provisioning/openstack/post-provision-openstack.yml
diff options
context:
space:
mode:
authorDavis Phillips <davis.phillips@gmail.com>2017-09-07 10:14:56 -0500
committerDavis Phillips <davis.phillips@gmail.com>2017-09-07 10:14:56 -0500
commit4ec2795d2978a602087d677799ddd8b9f941ee28 (patch)
treef23cb4c061741d85bd2b1a0bf0c77e04d7378c52 /playbooks/provisioning/openstack/post-provision-openstack.yml
parent90889d6be26eab6d6873d9063c3d8e2384ff9464 (diff)
parent1013e6ceefc83a182f231ab7d178676e4d996ceb (diff)
downloadopenshift-4ec2795d2978a602087d677799ddd8b9f941ee28.tar.gz
openshift-4ec2795d2978a602087d677799ddd8b9f941ee28.tar.bz2
openshift-4ec2795d2978a602087d677799ddd8b9f941ee28.tar.xz
openshift-4ec2795d2978a602087d677799ddd8b9f941ee28.zip
updating rhsm-sub and rhsm-repos
Diffstat (limited to 'playbooks/provisioning/openstack/post-provision-openstack.yml')
-rw-r--r--playbooks/provisioning/openstack/post-provision-openstack.yml18
1 files changed, 7 insertions, 11 deletions
diff --git a/playbooks/provisioning/openstack/post-provision-openstack.yml b/playbooks/provisioning/openstack/post-provision-openstack.yml
index a807c4d2f..28f3e5fcf 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
@@ -21,8 +25,6 @@
hosts: cluster_hosts
gather_facts: False
become: true
- pre_tasks:
- - include: pre_tasks.yml
roles:
- role: hostnames
@@ -46,22 +48,16 @@
hosts: dns
gather_facts: False
become: true
- pre_tasks:
- - include: pre_tasks.yml
- - name: "Generate dns-server views"
- include: openstack_dns_views.yml
roles:
+ - role: dns-views
- role: infra-ansible/roles/dns-server
- name: Build and process DNS Records
hosts: localhost
gather_facts: True
become: False
- pre_tasks:
- - include: pre_tasks.yml
- - name: "Generate dns records"
- include: openstack_dns_records.yml
roles:
+ - role: dns-records
- role: infra-ansible/roles/dns
- name: Switch the stack subnet to the configured private DNS server