install.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ---
  2. - name: Health Check Checkpoint Start
  3. hosts: oo_all_hosts
  4. gather_facts: false
  5. tasks:
  6. - name: Set Health Check 'In Progress'
  7. set_stats:
  8. data:
  9. installer_phase_health: "In Progress"
  10. aggregate: false
  11. - name: OpenShift Health Checks
  12. hosts: oo_all_hosts
  13. any_errors_fatal: true
  14. roles:
  15. - openshift_health_checker
  16. vars:
  17. - r_openshift_health_checker_playbook_context: install
  18. post_tasks:
  19. - name: Run health checks (install) - EL
  20. when: ansible_distribution != "Fedora"
  21. action: openshift_health_check
  22. args:
  23. checks:
  24. - disk_availability
  25. - memory_availability
  26. - package_availability
  27. - package_version
  28. - docker_image_availability
  29. - docker_storage
  30. - name: Run health checks (install) - Fedora
  31. when: ansible_distribution == "Fedora"
  32. action: openshift_health_check
  33. args:
  34. checks:
  35. - docker_image_availability
  36. - name: Health Check Checkpoint End
  37. hosts: oo_all_hosts
  38. gather_facts: false
  39. tasks:
  40. - name: Set Health Check 'Complete'
  41. set_stats:
  42. data:
  43. installer_phase_health: "Complete"
  44. aggregate: false