summaryrefslogtreecommitdiffstats
path: root/roles/docker/tasks/main.yml
blob: e60dbe2d6cf74f5b3b3b5cda91c7866e70590f22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
# These tasks dispatch to the proper set of docker tasks based on the
# inventory:openshift_docker_use_system_container variable

- include: udev_workaround.yml
  when: docker_udev_workaround | default(False) | bool

- name: Use Package Docker if Requested
  include: package_docker.yml
  when: openshift.docker.use_system_container is not defined or openshift.docker.use_system_container == False

- name: Use System Container Docker if Requested
  include: systemcontainer_docker.yml
  when:
  - openshift.docker.use_system_container is defined
  - openshift.docker.use_system_container is True