summaryrefslogtreecommitdiffstats
path: root/roles/openstack-stack/tasks/cleanup.yml
diff options
context:
space:
mode:
authorØystein Bedin <oybed@users.noreply.github.com>2017-10-02 21:08:45 +0000
committerEric Sauer <etsauer@gmail.com>2017-10-02 16:08:45 -0500
commit15be1ebcf1705bc5e9347463594f50cc9d0f27b4 (patch)
tree5565e56bf6f24134bbd1c6985f3c4de15ca4a96f /roles/openstack-stack/tasks/cleanup.yml
parent7fdb0ae9234b8ee432c517a02f329a7e82c88728 (diff)
downloadopenshift-15be1ebcf1705bc5e9347463594f50cc9d0f27b4.tar.gz
openshift-15be1ebcf1705bc5e9347463594f50cc9d0f27b4.tar.bz2
openshift-15be1ebcf1705bc5e9347463594f50cc9d0f27b4.tar.xz
openshift-15be1ebcf1705bc5e9347463594f50cc9d0f27b4.zip
Adding the option to use 'stack_state' to allow for easy de-provisioning (#754)
* Adding 'openstack-stack-delete' role to allow for easy de-provisioning * Updated per etsauer's comments
Diffstat (limited to 'roles/openstack-stack/tasks/cleanup.yml')
-rw-r--r--roles/openstack-stack/tasks/cleanup.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/openstack-stack/tasks/cleanup.yml b/roles/openstack-stack/tasks/cleanup.yml
new file mode 100644
index 000000000..258334a6b
--- /dev/null
+++ b/roles/openstack-stack/tasks/cleanup.yml
@@ -0,0 +1,6 @@
+---
+
+- name: cleanup temp files
+ file:
+ path: "{{ stack_template_pre.path }}"
+ state: absent