summaryrefslogtreecommitdiffstats
path: root/roles/docker/tasks/main.yml
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-05-05 12:40:33 -0500
committerGitHub <noreply@github.com>2017-05-05 12:40:33 -0500
commitbc5eb65f9bcd4147130e062ef2e4499145811c90 (patch)
tree77c84ff9cfde394a06188b6728f54da9c1ed6658 /roles/docker/tasks/main.yml
parent37d759f17a772b9ddf1e6b49c023dca6fc79d801 (diff)
parente360372dcaf78648a329ce16f9d0365eed6636c8 (diff)
downloadopenshift-bc5eb65f9bcd4147130e062ef2e4499145811c90.tar.gz
openshift-bc5eb65f9bcd4147130e062ef2e4499145811c90.tar.bz2
openshift-bc5eb65f9bcd4147130e062ef2e4499145811c90.tar.xz
openshift-bc5eb65f9bcd4147130e062ef2e4499145811c90.zip
Merge pull request #4103 from ganhuang/fix_container_engine
Merged by openshift-bot
Diffstat (limited to 'roles/docker/tasks/main.yml')
-rw-r--r--roles/docker/tasks/main.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml
index e60dbe2d6..0c2b16acf 100644
--- a/roles/docker/tasks/main.yml
+++ b/roles/docker/tasks/main.yml
@@ -5,12 +5,13 @@
- 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: openshift.docker.use_system_container is not defined or openshift.docker.use_system_container == False
+ when: not l_use_system_container
- 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
+ when: l_use_system_container