Scott Dodson 9 лет назад
Родитель
Сommit
4d4793233e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      filter_plugins/openshift_node.py

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