X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fansible%2Fcleanup-tmp.yml;h=eb5bc3771817afffc83b8ee64dc49039be19e462;hb=a778cfdeb617354b2c238aa2b7579b84ebed5a29;hp=2b46a32f559e7ed9beac9b1070c7ddfe825c6546;hpb=dcf965cb65e4c89e7db4f86453dfcbf9af9a967a;p=ansible.git diff --git a/playbooks/ansible/cleanup-tmp.yml b/playbooks/ansible/cleanup-tmp.yml index 2b46a32..eb5bc37 100644 --- a/playbooks/ansible/cleanup-tmp.yml +++ b/playbooks/ansible/cleanup-tmp.yml @@ -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 * || :"