Browse Source

Merge pull request #393 from detiber/bz1246458

Bug 1246458 - dnsIP does not point to cluster IP
Brenton Leanhardt 9 years ago
parent
commit
12e28931f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_master/tasks/main.yml

+ 1 - 1
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