summaryrefslogtreecommitdiffstats
path: root/roles/docker/tasks/main.yml
blob: 0c2b16acfb91dc5792a645c4a918910a3bcff978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
# 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

- set_fact:
    l_use_system_container: "{{ openshift.docker.use_system_container | default(False) }}"

- name: Use Package Docker if Requested
  include: package_docker.yml
  when: not l_use_system_container

- name: Use System Container Docker if Requested
  include: systemcontainer_docker.yml
  when: l_use_system_container