mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-01 00:38:49 -03:30
Stop cleaning up containerd packages (#12213)
The switch to not use system packages for containerd packages happened multiples releases ago ; there should not be any up-to-date installation of kubespray needing that cleanup. Remove those steps and variables only used by them.
This commit is contained in:
@@ -1,22 +1,4 @@
|
||||
---
|
||||
- name: Containerd | Remove containerd repository for RedHat os family
|
||||
file:
|
||||
path: "{{ yum_repo_dir }}/containerd.repo"
|
||||
state: absent
|
||||
when:
|
||||
- ansible_os_family in ['RedHat']
|
||||
tags:
|
||||
- reset_containerd
|
||||
|
||||
- name: Containerd | Remove containerd repository for Debian os family
|
||||
apt_repository:
|
||||
repo: "{{ item }}"
|
||||
state: absent
|
||||
with_items: "{{ containerd_repo_info.repos }}"
|
||||
when: ansible_pkg_mgr == 'apt'
|
||||
tags:
|
||||
- reset_containerd
|
||||
|
||||
- name: Containerd | Stop containerd service
|
||||
service:
|
||||
name: containerd
|
||||
|
||||
Reference in New Issue
Block a user