Browse Source

add cleanup

pull/2931/head
Sascha Marcel Schmidt 6 years ago
parent
commit
df6cf9aa51
No known key found for this signature in database GPG Key ID: D1D6CE184437796D
1 changed files with 4 additions and 0 deletions
  1. 4
      contrib/network-storage/heketi/roles/provision/tasks/cleanup.yml

4
contrib/network-storage/heketi/roles/provision/tasks/cleanup.yml

@ -0,0 +1,4 @@
---
- name: "Clean up left over jobs."
command: "{{ bin_dir }}/kubectl delete jobs,pods --selector=\"deploy-heketi\""
changed_when: false
Loading…
Cancel
Save