summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/config.yml
blob: b399ea995b66bf51d2ec51fbeb647a7e610a0c28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
# TODO: refactor this into its own include
# and pass a variable for ctx
- name: Verify Requirements
  hosts: oo_all_hosts
  roles:
  - openshift_health_checker
  vars:
  - r_openshift_health_checker_playbook_context: install
  post_tasks:
  - action: openshift_health_check
    args:
      checks:
      - disk_availability
      - memory_availability
      - package_availability
      - package_version
      - docker_image_availability
      - docker_storage

- include: ../openshift-etcd/config.yml

- include: ../openshift-nfs/config.yml
  when: groups.oo_nfs_to_config | default([]) | count > 0

- include: ../openshift-loadbalancer/config.yml
  when: groups.oo_lb_to_config | default([]) | count > 0

- include: ../openshift-master/config.yml

- include: ../openshift-master/additional_config.yml

- include: ../openshift-node/config.yml

- include: ../openshift-glusterfs/config.yml
  when: groups.oo_glusterfs_to_config | default([]) | count > 0

- include: openshift_hosted.yml

- include: openshift_metrics.yml
  when: openshift_metrics_install_metrics | default(false) | bool

- include: openshift_logging.yml
  when: openshift_logging_install_logging | default(false) | bool

- include: service_catalog.yml
  when: openshift_enable_service_catalog | default(false) | bool

- include: openshift_management.yml
  when: openshift_management_install_management | default(false) | bool

- name: Print deprecated variable warning message if necessary
  hosts: oo_first_master
  gather_facts: no
  tasks:
  - debug: msg="{{__deprecation_message}}"
    when:
    - __deprecation_message | default ('') | length > 0