X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fansible%2Fcleanup-tmp.yml;h=8d49e6af22fe975fea1eb6169df49a3aa04cde00;hb=d7b3c872cd4adeb6c6bcc27c0fa31826773d6a5d;hp=8140c85c522c7924002ec241b98beade0a1e3f6c;hpb=4ddac78094546713d0e96f88932a0a9cfd1432ae;p=ansible.git diff --git a/playbooks/ansible/cleanup-tmp.yml b/playbooks/ansible/cleanup-tmp.yml index 8140c85..8d49e6a 100644 --- a/playbooks/ansible/cleanup-tmp.yml +++ b/playbooks/ansible/cleanup-tmp.yml @@ -3,7 +3,7 @@ gather_facts: false tasks: - name: Cleanup ~/.ansible/tmp - command: "rm -rf ~/.ansible/tmp/*" + shell: "exec rm -rf *" args: - warn: false + chdir: "~/.ansible/tmp" failed_when: false