config.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. ---
  2. # TODO: refactor this into its own include
  3. # and pass a variable for ctx
  4. - name: Verify Requirements
  5. hosts: oo_all_hosts
  6. roles:
  7. - openshift_health_checker
  8. vars:
  9. - r_openshift_health_checker_playbook_context: install
  10. post_tasks:
  11. - action: openshift_health_check
  12. args:
  13. checks:
  14. - disk_availability
  15. - memory_availability
  16. - package_availability
  17. - package_version
  18. - docker_image_availability
  19. - docker_storage
  20. - include: initialize_oo_option_facts.yml
  21. tags:
  22. - always
  23. - include: ../openshift-etcd/config.yml
  24. - include: ../openshift-nfs/config.yml
  25. tags:
  26. - nfs
  27. - include: ../openshift-loadbalancer/config.yml
  28. tags:
  29. - loadbalancer
  30. - include: ../openshift-master/config.yml
  31. - include: ../openshift-node/config.yml
  32. tags:
  33. - node
  34. - include: ../openshift-glusterfs/config.yml
  35. tags:
  36. - glusterfs
  37. - include: openshift_hosted.yml
  38. tags:
  39. - hosted
  40. - include: service_catalog.yml
  41. when:
  42. - openshift_enable_service_catalog | default(false) | bool
  43. tags:
  44. - servicecatalog