uninstall.yml 912 B

12345678910111213141516171819202122232425262728293031323334
  1. ---
  2. - name: Openshift Metering Uninstall Checkpoint Start
  3. hosts: all
  4. gather_facts: false
  5. tasks:
  6. - name: Set Openshift Metering 'In Progress'
  7. run_once: true
  8. set_stats:
  9. data:
  10. uninstall_phase_openshift_metering:
  11. title: "Openshift Metering"
  12. playbook: "playbooks/openshift-metering/uninstall.yml"
  13. status: "In Progress"
  14. start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
  15. - name: Uninstall Openshift Metering
  16. hosts: oo_first_master
  17. tasks:
  18. - include_role:
  19. name: openshift_metering
  20. tasks_from: uninstall.yml
  21. - name: Openshift Metering Uninstall Checkpoint End
  22. hosts: all
  23. gather_facts: false
  24. tasks:
  25. - name: Set Openshift Metering 'Complete'
  26. run_once: true
  27. set_stats:
  28. data:
  29. uninstall_phase_openshift_metering:
  30. status: "Complete"
  31. end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"