summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/openshift_metrics.yml
blob: 9c0bd489bdf64817c0cceb01ba7dd886775da372 (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
---
- name: Metrics Install Checkpoint Start
  hosts: oo_all_hosts
  gather_facts: false
  tasks:
  - name: Set Metrics install 'In Progress'
    set_stats:
      data:
        installer_phase_metrics: "In Progress"
      aggregate: false

- name: OpenShift Metrics
  hosts: oo_first_master
  roles:
  - role: openshift_metrics

- name: OpenShift Metrics
  hosts: oo_masters:!oo_first_master
  serial: 1
  tasks:
  - name: Setup the non-first masters configs
    include_role:
      name: openshift_metrics
      tasks_from: update_master_config.yaml

- name: Metrics Install Checkpoint End
  hosts: oo_all_hosts
  gather_facts: false
  tasks:
  - name: Set Metrics install 'Complete'
    set_stats:
      data:
        installer_phase_metrics: "Complete"
      aggregate: false