summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master/config.yml
blob: a9a4e6afc8b74ab843ce95053c51c0e067a1519d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
- name: Configure master instances
  hosts: oo_masters_to_config
  vars:
    openshift_sdn_master_url: https://{{ openshift.common.hostname }}:4001
  roles:
  - openshift_master
  - role: openshift_sdn_master
    when: openshift.common.use_openshift_sdn | bool
  - role: fluentd_master
    when: openshift.common.use_fluentd | bool
  tasks:
  - name: Create group for deployment type
    group_by: key=oo_masters_deployment_type_{{ openshift.common.deployment_type }}
    changed_when: False

# Additional instance config for online deployments
- name: Additional instance config
  hosts: oo_masters_deployment_type_online
  roles:
  - pods
  - os_env_extras