config.yml 949 B

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