Ignore error when ipvsadm utility not found on node (#7587)

This commit is contained in:
Hari Hud 2021-05-08 02:07:04 +05:30 committed by GitHub
parent 1dd38721b3
commit 6e7649360f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,6 +206,7 @@
- name: Clear IPVS virtual server table
command: "ipvsadm -C"
ignore_errors: yes
when:
- kube_proxy_mode == 'ipvs' and inventory_hostname in groups['k8s_cluster']