---
- name: Logging Install Checkpoint Start
  hosts: oo_all_hosts
  gather_facts: false
  tasks:
  - name: Set Logging install 'In Progress'
    set_stats:
      data:
        installer_phase_logging: "In Progress"
      aggregate: false

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

- name: Update Master configs
  hosts: oo_masters:!oo_first_master
  tasks:
  - block:
    - include_role:
        name: openshift_logging
        tasks_from: update_master_config

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