summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-node/config.yml
blob: f50903061b8ddf0e80a62af9ae5a9434f014a4ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
- 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: "{{ item }}"
      groups: oo_first_master
    with_items: groups.masters.0


- include: ../../common/openshift-node/config.yml
  vars:
    openshift_first_master: "{{ groups.masters.0 }}"
    openshift_cluster_id: "{{ cluster_id | default('default') }}"
    openshift_debug_level: 4
    openshift_deployment_type: "{{ deployment_type }}"