config.yml 966 B

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