config.yml 1.3 KB

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