summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-07-27 21:32:47 -0400
committerGitHub <noreply@github.com>2017-07-27 21:32:47 -0400
commitb1bbee7f996c28880784fdf91784b14a16873807 (patch)
tree6bd1f0970d6ac418c8c39e387afd82cdbd4dbf96
parentf0e804d2a23d0abf1fd8a2f84673ed69baece194 (diff)
parent74400c315d4d9dc76ddcb3e3f9e5b7a8a3ceea99 (diff)
downloadopenshift-b1bbee7f996c28880784fdf91784b14a16873807.tar.gz
openshift-b1bbee7f996c28880784fdf91784b14a16873807.tar.bz2
openshift-b1bbee7f996c28880784fdf91784b14a16873807.tar.xz
openshift-b1bbee7f996c28880784fdf91784b14a16873807.zip
Merge pull request #3877 from wkshi/bugfix-1422541-master
Fix BZ#1422541 BZ#1440586 BZ#1440612 BZ#1440617 on master branch
-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))