config.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. - hosts: localhost
  21. tasks:
  22. - fail:
  23. msg: No etcd hosts defined. Running an all-in-one master is deprecated and will no longer be supported in a future upgrade.
  24. when: groups.oo_etcd_to_config | default([]) | length == 0 and not openshift_master_unsupported_all_in_one | default(False)
  25. - include: initialize_oo_option_facts.yml
  26. tags:
  27. - always
  28. - include: ../openshift-etcd/config.yml
  29. tags:
  30. - etcd
  31. - include: ../openshift-nfs/config.yml
  32. tags:
  33. - nfs
  34. - include: ../openshift-loadbalancer/config.yml
  35. tags:
  36. - loadbalancer
  37. - include: ../openshift-master/config.yml
  38. tags:
  39. - master
  40. - include: additional_config.yml
  41. tags:
  42. - master
  43. - include: ../openshift-node/config.yml
  44. tags:
  45. - node
  46. - include: ../openshift-glusterfs/config.yml
  47. tags:
  48. - glusterfs
  49. - include: openshift_hosted.yml
  50. tags:
  51. - hosted
  52. - include: service_catalog.yml
  53. when:
  54. - openshift_enable_service_catalog | default(false) | bool
  55. tags:
  56. - servicecatalog