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

- name: OpenShift Aggregated Logging
  hosts: oo_first_master
  roles:
  - openshift_logging

# TODO: Remove when master config property is removed
- name: Update Master configs
  hosts: oo_masters:!oo_first_master
  tasks:
  - block:
    - import_role:
        name: openshift_logging
        tasks_from: update_master_config
      when: not openshift.common.version_gte_3_9

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