remove cri-o using crio_bin_files (#10182)
This commit is contained in:
@ -81,21 +81,10 @@
|
||||
tags:
|
||||
- reset_crio
|
||||
|
||||
- name: CRI-O | Remove dpkg hold
|
||||
dpkg_selections:
|
||||
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: CRI-O | Remove CRI-O binaries
|
||||
file:
|
||||
name: "{{ item }}"
|
||||
state: absent
|
||||
when: not is_ostree
|
||||
with_items: "{{ crio_packages }}"
|
||||
with_items: "{{ crio_bin_files }}"
|
||||
tags:
|
||||
- reset_crio
|
||||
|
Reference in New Issue
Block a user