summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-07-27 12:24:06 -0400
committerJason DeTiberus <jdetiber@redhat.com>2015-07-27 12:25:38 -0400
commit3795fd4e38297ca00c7d67b8649ddbeec819d87d (patch)
treef82c8f69c7b105829f08a4d178696e37d80d5186 /roles
parent274aa30b1af218031c0c6e7d3abe2ab732dc5b59 (diff)
downloadopenshift-3795fd4e38297ca00c7d67b8649ddbeec819d87d.tar.gz
openshift-3795fd4e38297ca00c7d67b8649ddbeec819d87d.tar.bz2
openshift-3795fd4e38297ca00c7d67b8649ddbeec819d87d.tar.xz
openshift-3795fd4e38297ca00c7d67b8649ddbeec819d87d.zip
Bug 1246458 - dnsIP does not point to cluster IP
https://bugzilla.redhat.com/show_bug.cgi?id=1246458 - Previously when configuring an HA cluster for multi-master the dns ip in the node config was pointing only to the first master instead of the cluster ip.
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_master/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 057daabf9..ec7cee33b 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -59,7 +59,7 @@
openshift_facts:
role: dns
local_facts:
- ip: "{{ openshift.common.ip }}"
+ ip: "{{ openshift_master_cluster_vip | default(openshift.common.ip, true) | default(None) }}"
domain: cluster.local
when: openshift.master.embedded_dns