summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-05-02 11:23:10 -0400
committerScott Dodson <sdodson@redhat.com>2016-05-02 11:23:10 -0400
commit4d4793233ec126b6bc43861732ccbe22b784ef0a (patch)
tree0db375a48f8f68db32941ccfe6b58db7991f38fb
parentcb0a480826b67fe74eaf5fc806153eadd5f2e028 (diff)
downloadopenshift-4d4793233ec126b6bc43861732ccbe22b784ef0a.tar.gz
openshift-4d4793233ec126b6bc43861732ccbe22b784ef0a.tar.bz2
openshift-4d4793233ec126b6bc43861732ccbe22b784ef0a.tar.xz
openshift-4d4793233ec126b6bc43861732ccbe22b784ef0a.zip
Fix configuration of dns_ip
-rw-r--r--filter_plugins/openshift_node.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter_plugins/openshift_node.py b/filter_plugins/openshift_node.py
index 4ef92ba03..22670cf79 100644
--- a/filter_plugins/openshift_node.py
+++ b/filter_plugins/openshift_node.py
@@ -26,7 +26,7 @@ class FilterModule(object):
if openshift_dns_ip != None:
return openshift_dns_ip
- if bool(hostvars['openshift']['common']['version_gte_3_2_or_1_2']):
+ if bool(hostvars['openshift']['common']['use_dnsmasq']):
return hostvars['ansible_default_ipv4']['address']
elif bool(hostvars['openshift']['common']['version_gte_3_1_or_1_1']):
if 'openshift_master_cluster_vip' in hostvars: