mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-15 22:34:21 +03:00
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.
23 lines
498 B
YAML
23 lines
498 B
YAML
---
|
|
- name: Containerd | Stop containerd service
|
|
service:
|
|
name: containerd
|
|
daemon_reload: true
|
|
enabled: false
|
|
state: stopped
|
|
tags:
|
|
- reset_containerd
|
|
|
|
- name: Containerd | Remove configuration files
|
|
file:
|
|
path: "{{ item }}"
|
|
state: absent
|
|
loop:
|
|
- /etc/systemd/system/containerd.service
|
|
- "{{ containerd_systemd_dir }}"
|
|
- "{{ containerd_cfg_dir }}"
|
|
- "{{ containerd_storage_dir }}"
|
|
- "{{ containerd_state_dir }}"
|
|
tags:
|
|
- reset_containerd
|