Skip to content
Snippets Groups Projects
Unverified Commit ae3a1d7c authored by Kenichi Omichi's avatar Kenichi Omichi Committed by GitHub
Browse files

Fix keepcache values of yum_repository (#7506)

As the official document[1], the parameter keepcache should be
'0' or '1' as string. To avoid the following warning message,
this fixes the parameter value:

  [WARNING]: The value False (type bool) in a string field was
  converted to u'False' (type string). If this does not look
  like what you expect, quote the entire value to ensure it
  does not change.

https://docs.ansible.com/ansible/latest/collections/ansible/builtin/yum_repository_module.html
parent e39e3d5c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment