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

- name: OpenShift Prometheus
  hosts: oo_first_master
  roles:
  - role: openshift_prometheus

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