Skip to content

Commit

Permalink
remove cri-o using crio_bin_files (kubernetes-sigs#10182)
Browse files Browse the repository at this point in the history
  • Loading branch information
yckaolalala authored and pedromcpedro committed May 8, 2024
1 parent 08fda92 commit 73c6946
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions roles/container-engine/cri-o/tasks/reset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 73c6946

Please sign in to comment.