config.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. ---
  2. - include: evaluate_groups.yml
  3. tags:
  4. - always
  5. - include: initialize_facts.yml
  6. tags:
  7. - always
  8. - include: validate_hostnames.yml
  9. tags:
  10. - node
  11. - include: initialize_openshift_version.yml
  12. - name: Set oo_option facts
  13. hosts: oo_all_hosts
  14. tags:
  15. - always
  16. tasks:
  17. - set_fact:
  18. openshift_docker_additional_registries: "{{ lookup('oo_option', 'docker_additional_registries') }}"
  19. when: openshift_docker_additional_registries is not defined
  20. - set_fact:
  21. openshift_docker_insecure_registries: "{{ lookup('oo_option', 'docker_insecure_registries') }}"
  22. when: openshift_docker_insecure_registries is not defined
  23. - set_fact:
  24. openshift_docker_blocked_registries: "{{ lookup('oo_option', 'docker_blocked_registries') }}"
  25. when: openshift_docker_blocked_registries is not defined
  26. - set_fact:
  27. openshift_docker_options: "{{ lookup('oo_option', 'docker_options') }}"
  28. when: openshift_docker_options is not defined
  29. - set_fact:
  30. openshift_docker_log_driver: "{{ lookup('oo_option', 'docker_log_driver') }}"
  31. when: openshift_docker_log_driver is not defined
  32. - set_fact:
  33. openshift_docker_log_options: "{{ lookup('oo_option', 'docker_log_options') }}"
  34. when: openshift_docker_log_options is not defined
  35. - include: ../openshift-etcd/config.yml
  36. tags:
  37. - etcd
  38. - include: ../openshift-nfs/config.yml
  39. tags:
  40. - nfs
  41. - include: ../openshift-loadbalancer/config.yml
  42. tags:
  43. - loadbalancer
  44. - include: ../openshift-master/config.yml
  45. tags:
  46. - master
  47. - include: additional_config.yml
  48. tags:
  49. - master
  50. - include: ../openshift-node/config.yml
  51. tags:
  52. - node
  53. - include: openshift_hosted.yml
  54. tags:
  55. - hosted