|
@@ -6,6 +6,17 @@
|
|
|
roles:
|
|
|
- openshift_facts
|
|
|
|
|
|
+- name: Gather and set facts for first master
|
|
|
+ hosts: oo_first_master
|
|
|
+ vars:
|
|
|
+ openshift_master_count: "{{ groups.oo_masters | length }}"
|
|
|
+ pre_tasks:
|
|
|
+ - set_fact:
|
|
|
+ openshift_master_default_subdomain: "{{ lookup('oo_option', 'openshift_master_default_subdomain') | default(None, true) }}"
|
|
|
+ when: openshift_master_default_subdomain is not defined
|
|
|
+ roles:
|
|
|
+ - openshift_master_facts
|
|
|
+
|
|
|
- name: Configure docker hosts
|
|
|
hosts: oo_nodes_to_config
|
|
|
vars:
|