summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorBogdan Dobrelya <bdobreli@redhat.com>2017-09-26 14:36:12 +0200
committerTomas Sedovic <tomas@sedovic.cz>2017-09-26 14:36:12 +0200
commit4669bf33d611555613dec904b1b33a1908f0a35b (patch)
tree29321760cea704f73fcf4296e66f05acbbecb274 /playbooks
parentd361dc4b307781ec2bb5978f30516f266a34188c (diff)
downloadopenshift-4669bf33d611555613dec904b1b33a1908f0a35b.tar.gz
openshift-4669bf33d611555613dec904b1b33a1908f0a35b.tar.bz2
openshift-4669bf33d611555613dec904b1b33a1908f0a35b.tar.xz
openshift-4669bf33d611555613dec904b1b33a1908f0a35b.zip
Fix public master cluster DNS record when using bastion (#752)
When using a bastion and a single master, add the bastion node's public IP the public master's IP for the DNS record. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/provisioning/openstack/post-provision-openstack.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/playbooks/provisioning/openstack/post-provision-openstack.yml b/playbooks/provisioning/openstack/post-provision-openstack.yml
index 61f950c14..a80e8d829 100644
--- a/playbooks/provisioning/openstack/post-provision-openstack.yml
+++ b/playbooks/provisioning/openstack/post-provision-openstack.yml
@@ -58,6 +58,7 @@
become: False
roles:
- role: dns-records
+ use_bastion: "{{ openstack_use_bastion|default(False)|bool }}"
- role: infra-ansible/roles/dns
- name: Switch the stack subnet to the configured private DNS server