]> git.phdru.name Git - ansible.git/blob - playbooks/ansible/cleanup-tmp.yml
Feat(ansible/list-tmp): Count temp directories
[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: "cd ~/.ansible/tmp && exec rm -rf * || :"