config.yml 1.5 KB

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