|
@@ -239,7 +239,7 @@
|
|
|
named_certificates: "{{ hostvars[groups['oo_first_master'][0]]['parsed_named_certificates'] | default([])}}"
|
|
|
sync_tmpdir: "{{ hostvars.localhost.g_master_mktemp.stdout }}"
|
|
|
openshift_master_ha: "{{ groups.oo_masters_to_config | length > 1 }}"
|
|
|
- embedded_etcd: "{{ openshift.master.embedded_etcd }}"
|
|
|
+ openshift_master_count: "{{ groups.oo_masters_to_config | length }}"
|
|
|
pre_tasks:
|
|
|
- name: Ensure certificate directory exists
|
|
|
file:
|
|
@@ -264,11 +264,11 @@
|
|
|
- name: Additional master configuration
|
|
|
hosts: oo_first_master
|
|
|
vars:
|
|
|
- openshift_master_ha: "{{ groups.oo_masters_to_config | length > 1 }}"
|
|
|
- omc_cluster_hosts: "{{ groups.oo_masters_to_config | join(' ')}}"
|
|
|
+ #openshift_master_ha: "{{ groups.oo_masters_to_config | length > 1 }}"
|
|
|
+ # omc_cluster_hosts: "{{ groups.oo_masters_to_config | join(' ')}}"
|
|
|
roles:
|
|
|
- - role: openshift_master_cluster
|
|
|
- when: openshift_master_ha | bool
|
|
|
+# - role: openshift_master_cluster
|
|
|
+# when: openshift_master_ha | bool
|
|
|
- openshift_examples
|
|
|
- role: openshift_cluster_metrics
|
|
|
when: openshift.common.use_cluster_metrics | bool
|