From 4323e5d039631558a25dd58069168f28b4a855bb Mon Sep 17 00:00:00 2001 From: Leeon Fu <48649837+leeonfu@users.noreply.github.com> Date: Fri, 20 Sep 2024 02:14:37 +0800 Subject: [PATCH] Reset operation, disable service enabled and clean container's logs. (#11501) --- roles/reset/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/reset/tasks/main.yml b/roles/reset/tasks/main.yml index acafb5a76..97bdbf597 100644 --- a/roles/reset/tasks/main.yml +++ b/roles/reset/tasks/main.yml @@ -3,6 +3,7 @@ service: name: "{{ item }}" state: stopped + enabled: false with_items: - kubelet.service - cri-dockerd.service @@ -290,6 +291,7 @@ - /var/log/openvswitch - /var/log/ovn - /var/log/kube-ovn + - /var/log/containers - /etc/cni - /etc/nerdctl - "{{ nginx_config_dir }}"