config.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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: openshift_excluder
  14. tasks_from: enable.yml
  15. vars:
  16. r_openshift_excluder_action: enable
  17. r_openshift_excluder_enable_openshift_excluder: false
  18. - import_role:
  19. name: container_runtime
  20. tasks_from: package_docker.yml
  21. when:
  22. - not openshift_docker_use_system_container | bool
  23. - not openshift_use_crio_only | bool
  24. - import_role:
  25. name: container_runtime
  26. tasks_from: systemcontainer_docker.yml
  27. when:
  28. - openshift_docker_use_system_container | bool
  29. - not openshift_use_crio_only | bool
  30. - import_role:
  31. name: container_runtime
  32. tasks_from: systemcontainer_crio.yml
  33. when:
  34. - openshift_use_crio | bool
  35. - not openshift_crio_use_rpm | bool
  36. - openshift_docker_is_node_or_master | bool
  37. - import_role:
  38. name: container_runtime
  39. tasks_from: package_crio.yml
  40. when:
  41. - openshift_use_crio | bool
  42. - openshift_crio_use_rpm | bool
  43. - openshift_docker_is_node_or_master | bool