浏览代码

docker: skip Docker setup when using CRI-O

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Giuseppe Scrivano 7 年之前
父节点
当前提交
0898ff62d1
共有 1 个文件被更改,包括 3 次插入1 次删除
  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