فهرست منبع

ignore all errors

Grega Bremec 7 ماه پیش
والد
کامیت
24c6562f56
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      playbooks/roles/remove-operators/tasks/main.yml

+ 3 - 0
playbooks/roles/remove-operators/tasks/main.yml

@@ -28,6 +28,7 @@
     kind: "{{ item.kind }}"
     delete_all: true
     state: absent
+  ignore_errors: yes
   loop: "{{ role.pre_cleanup }}"
   register: removed
 
@@ -40,6 +41,7 @@
     name: "{{ role.sub_name }}"
     namespace: "{{ role.sub_nspc }}"
     state: absent
+  ignore_errors: yes
 
 - name: Do post-cleanup
   k8s:
@@ -49,6 +51,7 @@
     kind: customresourcedefinition
     name: "{{ item }}"
     state: absent
+  ignore_errors: yes
   loop: "{{ role.add_cleanup }}"
 
 ...