summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-metrics/private/config.yml
blob: 889ea77b11c453d3a09bd7c7358e20af8d947d23 (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
---
- name: Metrics Install Checkpoint Start
  hosts: all
  gather_facts: false
  tasks:
  - name: Set Metrics install 'In Progress'
    run_once: true
    set_stats:
      data:
        installer_phase_metrics:
          status: "In Progress"
          start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"

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

# TODO: Remove when master config property is removed
- name: OpenShift Metrics
  hosts: oo_masters:!oo_first_master
  serial: 1
  tasks:
  - name: Setup the non-first masters configs
    import_role:
      name: openshift_metrics
      tasks_from: update_master_config.yaml
    when: not openshift.common.version_gte_3_9

- name: Metrics Install Checkpoint End
  hosts: all
  gather_facts: false
  tasks:
  - name: Set Metrics install 'Complete'
    run_once: true
    set_stats:
      data:
        installer_phase_metrics:
          status: "Complete"
          end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"