Fix cri-o support for Oracle and AlmaLinux (#7541)
This commit is contained in:
parent
c16efc9ab8
commit
8665e1de87
3 changed files with 8 additions and 2 deletions
|
@ -79,7 +79,9 @@
|
||||||
gpgcheck: yes
|
gpgcheck: yes
|
||||||
gpgkey: http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_$releasever/repodata/repomd.xml.key
|
gpgkey: http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_$releasever/repodata/repomd.xml.key
|
||||||
keepcache: '0'
|
keepcache: '0'
|
||||||
when: ansible_distribution in ["CentOS"]
|
when:
|
||||||
|
- ansible_os_family == "RedHat"
|
||||||
|
- ansible_distribution not in ["Amazon", "Fedora"]
|
||||||
|
|
||||||
- name: Add CRI-O kubic yum repo
|
- name: Add CRI-O kubic yum repo
|
||||||
yum_repository:
|
yum_repository:
|
||||||
|
@ -88,7 +90,9 @@
|
||||||
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_version }}/CentOS_$releasever/"
|
||||||
gpgcheck: yes
|
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_version }}/CentOS_$releasever/repodata/repomd.xml.key"
|
||||||
when: ansible_distribution in ["CentOS"]
|
when:
|
||||||
|
- ansible_os_family == "RedHat"
|
||||||
|
- ansible_distribution not in ["Amazon", "Fedora"]
|
||||||
|
|
||||||
- name: Add CRI-O kubic yum repo
|
- name: Add CRI-O kubic yum repo
|
||||||
yum_repository:
|
yum_repository:
|
||||||
|
|
1
roles/container-engine/cri-o/vars/almalinux-8.yml
Symbolic link
1
roles/container-engine/cri-o/vars/almalinux-8.yml
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
centos-8.yml
|
1
roles/container-engine/cri-o/vars/oraclelinux-8.yml
Symbolic link
1
roles/container-engine/cri-o/vars/oraclelinux-8.yml
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
centos-8.yml
|
Loading…
Reference in a new issue