remove cri-o using crio_bin_files (#10182)
This commit is contained in:
@ -81,21 +81,10 @@
|
|||||||
tags:
|
tags:
|
||||||
- reset_crio
|
- reset_crio
|
||||||
|
|
||||||
- name: CRI-O | Remove dpkg hold
|
- name: CRI-O | Remove CRI-O binaries
|
||||||
dpkg_selections:
|
file:
|
||||||
name: "{{ item }}"
|
|
||||||
selection: install
|
|
||||||
when: ansible_pkg_mgr == 'apt'
|
|
||||||
changed_when: false
|
|
||||||
with_items: "{{ crio_packages }}"
|
|
||||||
tags:
|
|
||||||
- reset_crio
|
|
||||||
|
|
||||||
- name: CRI-O | Uninstall CRI-O package
|
|
||||||
package:
|
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: absent
|
state: absent
|
||||||
when: not is_ostree
|
with_items: "{{ crio_bin_files }}"
|
||||||
with_items: "{{ crio_packages }}"
|
|
||||||
tags:
|
tags:
|
||||||
- reset_crio
|
- reset_crio
|
||||||
|
Reference in New Issue
Block a user