Ignore error when ipvsadm utility not found on node (#7587)
This commit is contained in:
parent
1dd38721b3
commit
6e7649360f
1 changed files with 1 additions and 0 deletions
|
@ -206,6 +206,7 @@
|
||||||
|
|
||||||
- name: Clear IPVS virtual server table
|
- name: Clear IPVS virtual server table
|
||||||
command: "ipvsadm -C"
|
command: "ipvsadm -C"
|
||||||
|
ignore_errors: yes
|
||||||
when:
|
when:
|
||||||
- kube_proxy_mode == 'ipvs' and inventory_hostname in groups['k8s_cluster']
|
- kube_proxy_mode == 'ipvs' and inventory_hostname in groups['k8s_cluster']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue