summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-08-17 10:50:56 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2015-08-17 10:50:56 -0400
commit12e28931f0862e9a5bfad079f1f0fb2f38a48693 (patch)
treefdf6d9051428d3ae09bfa6ac902815125bce532f
parentb0e3e31b08928e36547162088050ad845645b43f (diff)
parent3795fd4e38297ca00c7d67b8649ddbeec819d87d (diff)
downloadopenshift-12e28931f0862e9a5bfad079f1f0fb2f38a48693.tar.gz
openshift-12e28931f0862e9a5bfad079f1f0fb2f38a48693.tar.bz2
openshift-12e28931f0862e9a5bfad079f1f0fb2f38a48693.tar.xz
openshift-12e28931f0862e9a5bfad079f1f0fb2f38a48693.zip
Merge pull request #393 from detiber/bz1246458
Bug 1246458 - dnsIP does not point to cluster IP
-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 3ee21b902..9204d25ce 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -64,7 +64,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