|
@@ -47,7 +47,7 @@
|
|
|
hosts: "{{ l_init_fact_hosts | default('nodes') }}:!masters:!bootstrap"
|
|
|
tasks:
|
|
|
- set_fact:
|
|
|
- openshift_bootstrap_endpoint: "https://{{ openshift_install_config['metadata']['name'] }}-api.{{ openshift_install_config['baseDomain'] }}:22623/config/worker"
|
|
|
+ openshift_bootstrap_endpoint: "https://api.{{ openshift_install_config['metadata']['name'] }}.{{ openshift_install_config['baseDomain'] }}:22623/config/worker"
|
|
|
when:
|
|
|
- openshift_install_config_path is defined
|
|
|
- openshift_bootstrap_endpoint is not defined
|
|
@@ -56,7 +56,7 @@
|
|
|
hosts: "{{ l_init_fact_hosts | default('nodes') }}:&masters"
|
|
|
tasks:
|
|
|
- set_fact:
|
|
|
- openshift_bootstrap_endpoint: "https://{{ openshift_install_config['metadata']['name'] }}-api.{{ openshift_install_config['baseDomain'] }}:22623/config/master"
|
|
|
+ openshift_bootstrap_endpoint: "https://api.{{ openshift_install_config['metadata']['name'] }}.{{ openshift_install_config['baseDomain'] }}:22623/config/master"
|
|
|
when:
|
|
|
- openshift_install_config_path is defined
|
|
|
- openshift_bootstrap_endpoint is not defined
|