aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/cleanup/tasks/cleanup_host.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/ansible/roles/cleanup/tasks/cleanup_host.yml b/ansible/roles/cleanup/tasks/cleanup_host.yml
index 36a65fb79..266ce1752 100644
--- a/ansible/roles/cleanup/tasks/cleanup_host.yml
+++ b/ansible/roles/cleanup/tasks/cleanup_host.yml
@@ -3,4 +3,6 @@
command: /tmp/kolla-cleanup/tools/cleanup-host
- name: Removing kolla-cleanup folder
- command: rm -rf /tmp/kolla-cleanup
+ file:
+ path: /tmp/kolla-cleanup
+ state: absent