config.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ---
  2. - include: evaluate_groups.yml
  3. - include: initialize_facts.yml
  4. - include: validate_hostnames.yml
  5. - name: Set oo_options
  6. hosts: oo_all_hosts
  7. tasks:
  8. - set_fact:
  9. openshift_docker_additional_registries: "{{ lookup('oo_option', 'docker_additional_registries') }}"
  10. when: openshift_docker_additional_registries is not defined
  11. - set_fact:
  12. openshift_docker_insecure_registries: "{{ lookup('oo_option', 'docker_insecure_registries') }}"
  13. when: openshift_docker_insecure_registries is not defined
  14. - set_fact:
  15. openshift_docker_blocked_registries: "{{ lookup('oo_option', 'docker_blocked_registries') }}"
  16. when: openshift_docker_blocked_registries is not defined
  17. - set_fact:
  18. openshift_docker_options: "{{ lookup('oo_option', 'docker_options') }}"
  19. when: openshift_docker_options is not defined
  20. - set_fact:
  21. openshift_docker_log_driver: "{{ lookup('oo_option', 'docker_log_driver') }}"
  22. when: openshift_docker_log_driver is not defined
  23. - set_fact:
  24. openshift_docker_log_options: "{{ lookup('oo_option', 'docker_log_options') }}"
  25. when: openshift_docker_log_options is not defined
  26. - include: ../openshift-etcd/config.yml
  27. - include: ../openshift-nfs/config.yml
  28. - include: ../openshift-loadbalancer/config.yml
  29. - include: ../openshift-master/config.yml
  30. - include: additional_config.yml
  31. - include: ../openshift-node/config.yml
  32. - include: openshift_hosted.yml