diff --git a/roles/reset/tasks/main.yml b/roles/reset/tasks/main.yml index ac0351d8f..eeb2248c6 100644 --- a/roles/reset/tasks/main.yml +++ b/roles/reset/tasks/main.yml @@ -110,7 +110,7 @@ - name: Clear IPVS virtual server table shell: "ipvsadm -C" when: - - kube_proxy_mode == 'ipvs' + - kube_proxy_mode == 'ipvs' and inventory_hostname in groups['k8s-cluster'] - name: reset | check kube-ipvs0 network device stat: