Browse Source

docker: skip Docker setup when using CRI-O

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Giuseppe Scrivano 7 years ago
parent
commit
0898ff62d1
1 changed files with 3 additions and 1 deletions
  1. 3 1
      roles/docker/tasks/main.yml

+ 3 - 1
roles/docker/tasks/main.yml

@@ -11,7 +11,9 @@
 
 - name: Use Package Docker if Requested
   include: package_docker.yml
-  when: not l_use_system_container
+  when:
+  - not l_use_system_container
+  - not l_use_crio
 
 - name: Use System Container Docker if Requested
   include: systemcontainer_docker.yml