|
@@ -122,6 +122,8 @@ def write_inventory_vars(base_inventory, lb):
|
|
if CFG.deployment.variables['ansible_ssh_user'] != 'root':
|
|
if CFG.deployment.variables['ansible_ssh_user'] != 'root':
|
|
base_inventory.write('ansible_become=yes\n')
|
|
base_inventory.write('ansible_become=yes\n')
|
|
|
|
|
|
|
|
+ base_inventory.write('openshift_override_hostname_check=true\n')
|
|
|
|
+
|
|
if lb is not None:
|
|
if lb is not None:
|
|
base_inventory.write('openshift_master_cluster_method=native\n')
|
|
base_inventory.write('openshift_master_cluster_method=native\n')
|
|
base_inventory.write("openshift_master_cluster_hostname={}\n".format(lb.hostname))
|
|
base_inventory.write("openshift_master_cluster_hostname={}\n".format(lb.hostname))
|