Workaround about inconsistent CRI-O YUM repo path on Kubic repos (#6101)

This commit is contained in:
Florent Monbillard 2020-05-07 15:59:42 -04:00 committed by GitHub
parent 61e7afa9f0
commit 218b2a5992
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 2 deletions

View file

@ -31,9 +31,9 @@
yum_repository:
name: "devel_kubic_libcontainers_stable_cri-o_{{ crio_version }}"
description: 1.17 (CentOS_$releasever)
baseurl: "http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/{{ crio_version }}/CentOS_$releasever/"
baseurl: "http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/{{ crio_repo_path[crio_required_version] }}/CentOS_$releasever/"
gpgcheck: yes
gpgkey: "http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/{{ crio_version }}/CentOS_$releasever/repodata/repomd.xml.key"
gpgkey: "http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/{{ crio_repo_path[crio_required_version] }}/CentOS_$releasever/repodata/repomd.xml.key"
when: ansible_distribution in ["CentOS"]
- name: Enable modular repos for CRI-O

View file

@ -3,3 +3,8 @@
crio_packages:
- cri-o
- oci-systemd-hook
crio_repo_path:
"1.18": "1.17:/1.17.4"
"1.17": "1.17:/1.17.4"
"1.16": "1.16"

View file

@ -2,3 +2,8 @@
crio_packages:
- cri-o
crio_repo_path:
"1.18": "1.18:/1.18.0"
"1.17": "1.17:/1.17.4"
"1.16": "1.16"