Delete object file from disk

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2019-04-05 21:07:38 +02:00
parent dc591da083
commit e4aed9c9f2

View file

@ -1,2 +1,7 @@
- name: Delete object file ({{tmpfile.path}})
file:
path=/etc/openshift_apps/{{app}}/{{objectname}}
state=absent
- name: Call `oc delete` on the object
shell: oc -n {{app}} delete {{objecttype}}/{{objectname}}