Browse Source

remove all instances of csv

Grega Bremec 7 months ago
parent
commit
f408b5cd13
1 changed files with 2 additions and 1 deletions
  1. 2 1
      playbooks/roles/remove-operators/tasks/main.yml

+ 2 - 1
playbooks/roles/remove-operators/tasks/main.yml

@@ -61,7 +61,8 @@
     api_version: operators.coreos.com/v1alpha1
     api_version: operators.coreos.com/v1alpha1
     kind: clusterserviceversion
     kind: clusterserviceversion
     name: "{{ role.csv_name }}"
     name: "{{ role.csv_name }}"
+    delete_all: true
     state: absent
     state: absent
   ignore_errors: yes
   ignore_errors: yes
-  when: "{{ csv_kill }}"
+  when: csv_kill
 ...
 ...