Browse Source

Reset operation, disable service enabled and clean container's logs. (#11501)

pull/11540/head
Leeon Fu 1 month ago
committed by GitHub
parent
commit
4323e5d039
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions
  1. 2
      roles/reset/tasks/main.yml

2
roles/reset/tasks/main.yml

@ -3,6 +3,7 @@
service: service:
name: "{{ item }}" name: "{{ item }}"
state: stopped state: stopped
enabled: false
with_items: with_items:
- kubelet.service - kubelet.service
- cri-dockerd.service - cri-dockerd.service
@ -290,6 +291,7 @@
- /var/log/openvswitch - /var/log/openvswitch
- /var/log/ovn - /var/log/ovn
- /var/log/kube-ovn - /var/log/kube-ovn
- /var/log/containers
- /etc/cni - /etc/cni
- /etc/nerdctl - /etc/nerdctl
- "{{ nginx_config_dir }}" - "{{ nginx_config_dir }}"

Loading…
Cancel
Save