diff options
Diffstat (limited to 'playbooks/byo/openshift-node/config.yml')
-rw-r--r-- | playbooks/byo/openshift-node/config.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/playbooks/byo/openshift-node/config.yml b/playbooks/byo/openshift-node/config.yml new file mode 100644 index 000000000..d569827b4 --- /dev/null +++ b/playbooks/byo/openshift-node/config.yml @@ -0,0 +1,21 @@ +--- +- name: Populate oo_nodes_to_config and oo_first_master host groups + hosts: localhost + gather_facts: no + tasks: + - name: Evaluate oo_nodes_to_config + add_host: + name: "{{ item }}" + groups: oo_nodes_to_config + with_items: groups.nodes + - name: Evaluate oo_first_master + add_host: + name: "{{ groups.masters[0] }}" + groups: oo_first_master + + +- include: ../../common/openshift-node/config.yml + vars: + openshift_cluster_id: "{{ cluster_id | default('default') }}" + openshift_debug_level: 4 + openshift_deployment_type: "{{ deployment_type }}" |