9052 crio add dpkg hold (#9075)

* Update main.yaml

* remove version in dpkg_selection name

* make lint happy

* Fix typo

* add comment / remove useless contition

* remove dpkg hold in reset tasks
This commit is contained in:
pil57852
2022-07-19 09:30:07 +02:00
committed by GitHub
parent 0d32c0d92b
commit 626ea64f66
2 changed files with 31 additions and 0 deletions

View File

@@ -81,6 +81,16 @@
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: "{{ item }}"