Explorar o código

remove all instances of csv

Grega Bremec hai 7 meses
pai
achega
f408b5cd13
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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
     kind: clusterserviceversion
     name: "{{ role.csv_name }}"
+    delete_all: true
     state: absent
   ignore_errors: yes
-  when: "{{ csv_kill }}"
+  when: csv_kill
 ...