config.yml 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. ---
  2. # l_scale_up_hosts may be passed in via prerequisites.yml during scaleup plays.
  3. # l_etcd_scale_up_hosts may be passed in via prerequisites.yml during etcd
  4. # scaleup plays.
  5. - import_playbook: build_container_groups.yml
  6. - hosts: "{{ l_etcd_scale_up_hosts | default(l_scale_up_hosts) | default(l_default_container_runtime_hosts) }}"
  7. vars:
  8. l_default_container_runtime_hosts: "oo_nodes_to_config:oo_hosts_containerized_managed_true"
  9. roles:
  10. - role: container_runtime
  11. tasks:
  12. - import_role:
  13. name: container_runtime
  14. tasks_from: package_docker.yml
  15. when:
  16. - not openshift_docker_use_system_container | bool
  17. - not openshift_use_crio_only | bool
  18. - import_role:
  19. name: container_runtime
  20. tasks_from: systemcontainer_docker.yml
  21. when:
  22. - openshift_docker_use_system_container | bool
  23. - not openshift_use_crio_only | bool
  24. - import_role:
  25. name: container_runtime
  26. tasks_from: systemcontainer_crio.yml
  27. when:
  28. - openshift_use_crio | bool
  29. - openshift_docker_is_node_or_master | bool