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

5 lines
142 B
YAML

---
- name: "Clean up left over jobs."
command: "{{ bin_dir }}/kubectl delete jobs,pods --selector=\"deploy-heketi\""
changed_when: false