Skip to content
Snippets Groups Projects
Unverified Commit 8665e1de authored by Cristian Calin's avatar Cristian Calin Committed by GitHub
Browse files

Fix cri-o support for Oracle and AlmaLinux (#7541)

parent c16efc9a
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,9 @@
gpgcheck: yes
gpgkey: http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_$releasever/repodata/repomd.xml.key
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
yum_repository:
......@@ -88,7 +90,9 @@
baseurl: "http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/{{ crio_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"
when: ansible_distribution in ["CentOS"]
when:
- ansible_os_family == "RedHat"
- ansible_distribution not in ["Amazon", "Fedora"]
- name: Add CRI-O kubic yum repo
yum_repository:
......
centos-8.yml
\ No newline at end of file
centos-8.yml
\ No newline at end of file
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