From 74400c315d4d9dc76ddcb3e3f9e5b7a8a3ceea99 Mon Sep 17 00:00:00 2001 From: Wenkai Shi Date: Fri, 7 Apr 2017 10:05:29 +0800 Subject: fix BZ1422541 on master branch --- utils/src/ooinstall/openshift_ansible.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/src/ooinstall/openshift_ansible.py b/utils/src/ooinstall/openshift_ansible.py index ce6e54664..ca5e7dc1a 100644 --- a/utils/src/ooinstall/openshift_ansible.py +++ b/utils/src/ooinstall/openshift_ansible.py @@ -122,6 +122,8 @@ def write_inventory_vars(base_inventory, lb): if CFG.deployment.variables['ansible_ssh_user'] != 'root': base_inventory.write('ansible_become=yes\n') + base_inventory.write('openshift_override_hostname_check=true\n') + if lb is not None: base_inventory.write('openshift_master_cluster_method=native\n') base_inventory.write("openshift_master_cluster_hostname={}\n".format(lb.hostname)) -- cgit v1.2.3