From bbcafb5d7b739bc4b10d1ed9016fce152d99bbc5 Mon Sep 17 00:00:00 2001 From: jayonlau <85604893+jayonlau@users.noreply.github.com> Date: Fri, 25 Jun 2021 15:32:45 +0800 Subject: [PATCH] Clean up residual files about modules-load.d (#7737) When reset, need to clean up files kube_proxy-ipvs.conf and kubespray-br_netfilter.conf. --- 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 17f0d8e9f..3430790f4 100644 --- a/roles/reset/tasks/main.yml +++ b/roles/reset/tasks/main.yml @@ -303,6 +303,8 @@ - /etc/bash_completion.d/nerdctl - /etc/bash_completion.d/krew - "{{ krew_root_dir | default('/usr/local/krew') }}" + - /etc/modules-load.d/kube_proxy-ipvs.conf + - /etc/modules-load.d/kubespray-br_netfilter.conf ignore_errors: yes tags: - files