ansible-roles/roles/squash_tm/tasks/cleanup.yml

12 lines
358 B
YAML

---
- name: Remove tmp and obsolete files
file: path={{ item }} state=absent
loop:
- "{{ squashtm_root_dir }}/tmp/squash-tm-{{ squashtm_version }}.RELEASE.tar.gz"
- "{{ squashtm_root_dir }}/tmp/squash-tm"
- "{{ squashtm_root_dir }}/app/logs"
- "{{ squashtm_root_dir }}/app/conf"
- "{{ squashtm_root_dir }}/app/data"
tags: squashtm