summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-05-31 12:15:13 +0000
committerGerrit Code Review <review@openstack.org>2016-05-31 12:15:13 +0000
commit430e79b35b2a8f2a0aa78d8a577cb4cea76464ba (patch)
treebe0a48bfe1935d2b6194ad5e2313c7e8476fb07f
parentc45099def351acc5c963eed0a243828b2e62ce0d (diff)
parent52d7daadd248be4d527d1a1e1511e27853612543 (diff)
downloadkolla-430e79b35b2a8f2a0aa78d8a577cb4cea76464ba.tar.gz
kolla-430e79b35b2a8f2a0aa78d8a577cb4cea76464ba.zip
Merge "Use file module instead of running rm to remove a directory"
-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