main.yml 743 B

1234567891011121314151617181920212223242526
  1. ---
  2. # These tasks dispatch to the proper set of docker tasks based on the
  3. # inventory:openshift_docker_use_system_container variable
  4. - include: udev_workaround.yml
  5. when: docker_udev_workaround | default(False) | bool
  6. - set_fact:
  7. l_use_system_container: "{{ openshift.docker.use_system_container | default(False) }}"
  8. l_use_crio: "{{ use_crio | default(False) }}"
  9. - name: Use Package Docker if Requested
  10. include: package_docker.yml
  11. when: not l_use_system_container
  12. - name: Use System Container Docker if Requested
  13. include: systemcontainer_docker.yml
  14. when:
  15. - l_use_system_container
  16. - not l_use_crio
  17. - name: Add CRI-O usage Requested
  18. include: systemcontainer_crio.yml
  19. when:
  20. - l_use_system_container
  21. - l_use_crio