浏览代码

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.
Jason DeTiberus 9 年之前
父节点
当前提交
3795fd4e38
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roles/openshift_master/tasks/main.yml

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