ansible-roles/roles/sftpgo/tasks/cleanup.yml
2021-12-01 19:13:34 +01:00

10 lines
309 B
YAML

---
- name: Remove tmp and obsolete files
file: path={{ item }} state=absent
loop:
- "{{ sftpgo_root_dir }}/archives/{{ sftpgo_current_version }}"
- "{{ sftpgo_root_dir }}/tmp/sftpgo_v{{ sftpgo_version }}_linux_x86_64.tar.xz"
- "{{ sftpgo_root_dir }}/tmp/{{ sftpgo_version }}"
tags: sftpgo