config.yml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. when: groups.oo_nfs_to_config | default([]) | count > 0
  26. - include: ../openshift-loadbalancer/config.yml
  27. when: groups.oo_lb_to_config | default([]) | count > 0
  28. - include: ../openshift-master/config.yml
  29. - include: ../openshift-master/additional_config.yml
  30. - include: ../openshift-node/config.yml
  31. - include: ../openshift-glusterfs/config.yml
  32. when: groups.oo_glusterfs_to_config | default([]) | count > 0
  33. - include: openshift_hosted.yml
  34. - include: openshift_metrics.yml
  35. when: openshift_metrics_install_metrics | default(false) | bool
  36. - include: openshift_logging.yml
  37. when: openshift_logging_install_logging | default(false) | bool
  38. - include: service_catalog.yml
  39. when: openshift_enable_service_catalog | default(false) | bool
  40. - name: Print deprecated variable warning message if necessary
  41. hosts: oo_first_master
  42. gather_facts: no
  43. tasks:
  44. - debug: msg="{{__deprecation_message}}"
  45. when:
  46. - __deprecation_message | default ('') | length > 0