]> git.phdru.name Git - ansible.git/blobdiff - playbooks/ansible/cleanup-tmp.yml
Fix(add-apache-vhost): Fix directories
[ansible.git] / playbooks / ansible / cleanup-tmp.yml
index 8140c85c522c7924002ec241b98beade0a1e3f6c..eb5bc3771817afffc83b8ee64dc49039be19e462 100644 (file)
@@ -3,7 +3,4 @@
   gather_facts: false
   tasks:
     - name: Cleanup ~/.ansible/tmp
-      command: "rm -rf ~/.ansible/tmp/*"
-      args:
-        warn: false
-      failed_when: false
+      shell: "cd ~/.ansible/tmp && exec rm -rf * || :"