summaryrefslogtreecommitdiffstats
path: root/utils/src/ooinstall
diff options
context:
space:
mode:
authorWenkai Shi <weshi@redhat.com>2017-04-07 10:05:29 +0800
committerWenkai Shi <weshi@redhat.com>2017-04-07 10:05:29 +0800
commit74400c315d4d9dc76ddcb3e3f9e5b7a8a3ceea99 (patch)
treea6bb8b04c2dec068cb5c4a144051651dae13b1a6 /utils/src/ooinstall
parent0bac74c346bb5c620bdf1941b40c29ff3083e2b0 (diff)
downloadopenshift-74400c315d4d9dc76ddcb3e3f9e5b7a8a3ceea99.tar.gz
openshift-74400c315d4d9dc76ddcb3e3f9e5b7a8a3ceea99.tar.bz2
openshift-74400c315d4d9dc76ddcb3e3f9e5b7a8a3ceea99.tar.xz
openshift-74400c315d4d9dc76ddcb3e3f9e5b7a8a3ceea99.zip
fix BZ1422541 on master branch
Diffstat (limited to 'utils/src/ooinstall')
-rw-r--r--utils/src/ooinstall/openshift_ansible.py2
1 files changed, 2 insertions, 0 deletions
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))