]> git.phdru.name Git - ansible.git/blob - playbooks/ansible/cleanup-tmp.yml
Feat(ansible/cleanup-tmp): Use args `chdir`; ignore errors with `failed_when`
[ansible.git] / playbooks / ansible / cleanup-tmp.yml
1 - name: Cleanup ~/.ansible/tmp
2   hosts: "{{ hosts | default('all') }}"
3   gather_facts: false
4   tasks:
5     - name: Cleanup ~/.ansible/tmp
6       shell: "exec rm -rf *"
7       args:
8         chdir: "~/.ansible/tmp"
9       failed_when: false