summaryrefslogtreecommitdiffstats
path: root/roles/docker/tasks/main.yml
diff options
context:
space:
mode:
authorSteve Milner <smilner@redhat.com>2017-07-14 10:37:48 -0400
committerGiuseppe Scrivano <gscrivan@redhat.com>2017-08-03 17:20:51 +0200
commite781e4cb8be85e201ad6e20ddd70401318846323 (patch)
tree8fd41b76348e687b88c446566702555df3af5b48 /roles/docker/tasks/main.yml
parent1765ce2bb6ab28a14c60dd5c268ec97ed788a1c1 (diff)
downloadopenshift-e781e4cb8be85e201ad6e20ddd70401318846323.tar.gz
openshift-e781e4cb8be85e201ad6e20ddd70401318846323.tar.bz2
openshift-e781e4cb8be85e201ad6e20ddd70401318846323.tar.xz
openshift-e781e4cb8be85e201ad6e20ddd70401318846323.zip
cri-o: Allow cri-o usage.
This change reuses the docker role to inject cri-o usage.
Diffstat (limited to 'roles/docker/tasks/main.yml')
-rw-r--r--roles/docker/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml
index 0c2b16acf..fab1ac57a 100644
--- a/roles/docker/tasks/main.yml
+++ b/roles/docker/tasks/main.yml
@@ -7,6 +7,7 @@
- set_fact:
l_use_system_container: "{{ openshift.docker.use_system_container | default(False) }}"
+ l_use_crio: "{{ openshift.docker.use_crio | default(False) }}"
- name: Use Package Docker if Requested
include: package_docker.yml
@@ -15,3 +16,7 @@
- name: Use System Container Docker if Requested
include: systemcontainer_docker.yml
when: l_use_system_container
+
+- name: Add CRI-O usage Requested
+ include: systemcontainer_crio.yml
+ when: l_use_crio