add ignore_errors

This commit is contained in:
Haitao Pan 2023-06-01 23:28:02 +08:00
parent 1adb6c1b36
commit fe9d11e46e

View File

@ -17,6 +17,7 @@
- name: Remove DNS Provider
shell: 'helm delete external-dns -n external-dns'
when: ( inventory_hostname in groups[group] ) and (external_dns == 'disable' )
ignore_errors: yes
- name: Sync K3S CNI Config
template: src=templates/cni_install.sh dest=/tmp/ owner=root group=root mode=0644