config.yml 975 B

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