config.yml 978 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. ---
  2. - name: Logging Install Checkpoint Start
  3. hosts: all
  4. gather_facts: false
  5. tasks:
  6. - name: Set Logging install 'In Progress'
  7. run_once: true
  8. set_stats:
  9. data:
  10. installer_phase_logging:
  11. status: "In Progress"
  12. start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
  13. - name: OpenShift Aggregated Logging
  14. hosts: oo_first_master
  15. roles:
  16. - openshift_logging
  17. # TODO: Remove when master config property is removed
  18. - name: Update Master configs
  19. hosts: oo_masters:!oo_first_master
  20. tasks:
  21. - block:
  22. - import_role:
  23. name: openshift_logging
  24. tasks_from: update_master_config
  25. when: not openshift.common.version_gte_3_9
  26. - name: Logging Install Checkpoint End
  27. hosts: all
  28. gather_facts: false
  29. tasks:
  30. - name: Set Logging install 'Complete'
  31. run_once: true
  32. set_stats:
  33. data:
  34. installer_phase_logging:
  35. status: "Complete"
  36. end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"