]> git.phdru.name Git - ansible.git/blobdiff - playbooks/ansible/cleanup-tmp.yml
Rename role `init-system2` -> `setup-usrlocal`
[ansible.git] / playbooks / ansible / cleanup-tmp.yml
index 2b46a32f559e7ed9beac9b1070c7ddfe825c6546..eb5bc3771817afffc83b8ee64dc49039be19e462 100644 (file)
@@ -3,7 +3,4 @@
   gather_facts: false
   tasks:
     - name: Cleanup ~/.ansible/tmp
-      command: "rm -rf ~/.ansible/tmp/*"
-      args:
-        warn: false
-      ignore_errors: true
+      shell: "cd ~/.ansible/tmp && exec rm -rf * || :"