feat: check & uninstall container engine (#8439)

Signed-off-by: Cyril Corbon <corboncyril@gmail.com>
This commit is contained in:
cyril-corbon
2022-02-28 19:59:46 +01:00
committed by GitHub
parent 3e8e64a3e5
commit 672e47a7eb
6 changed files with 317 additions and 3 deletions

View File

@@ -1,5 +1,4 @@
---
- block:
- name: Add Debian Backports apt repo
apt_repository:
@@ -99,7 +98,7 @@
baseurl: http://{{ crio_download_base }}/CentOS_{{ ansible_distribution_major_version }}/
gpgcheck: yes
gpgkey: http://{{ crio_download_base }}/CentOS_{{ ansible_distribution_major_version }}/repodata/repomd.xml.key
keepcache: '0'
keepcache: "0"
when:
- ansible_os_family == "RedHat"
- ansible_distribution not in ["Amazon", "Fedora"]
@@ -122,7 +121,7 @@
baseurl: http://{{ crio_download_base }}/CentOS_7/
gpgcheck: yes
gpgkey: http://{{ crio_download_base }}/CentOS_7/repodata/repomd.xml.key
keepcache: '0'
keepcache: "0"
when: ansible_distribution in ["Amazon"]
- name: Add CRI-O kubic yum repo