diff --git a/roles/container-engine/cri-o/tasks/crio_repo.yml b/roles/container-engine/cri-o/tasks/crio_repo.yml
index 6eb5e1432b4cae550f0476601f24e3e15817005a..fe345347fe955bf499f72759fe6e7e2b3730a83d 100644
--- a/roles/container-engine/cri-o/tasks/crio_repo.yml
+++ b/roles/container-engine/cri-o/tasks/crio_repo.yml
@@ -78,7 +78,7 @@
     baseurl: http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_$releasever/
     gpgcheck: yes
     gpgkey: http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_$releasever/repodata/repomd.xml.key
-    keepcache: false
+    keepcache: '0'
   when: ansible_distribution in ["CentOS"]
 
 - name: Add CRI-O kubic yum repo
@@ -97,7 +97,7 @@
     baseurl: http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_7/
     gpgcheck: yes
     gpgkey: http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_7/repodata/repomd.xml.key
-    keepcache: false
+    keepcache: '0'
   when: ansible_distribution in ["Amazon"]
 
 - name: Add CRI-O kubic yum repo