1
0
mirror of https://git.lapiole.org/dani/ansible-roles.git synced 2025-04-26 15:13:20 +02:00
2022-02-18 16:00:06 +01:00

14 lines
394 B
YAML

---
- name: Remove tmp and obsolete files
file: path={{ item }} state=absent
loop:
- "{{ pgweb_root_dir }}/tmp/pgweb_linux_amd64"
- "{{ pgweb_root_dir }}/tmp/pgweb_linux_amd64.zip"
tags: pgweb,pg
- name: Remove temp previous version dir
file: path={{ pgweb_root_dir }}/archives/{{ pgweb_current_version }} state=absent
when: pgweb_install_mode == 'upgrade'
tags: pgweb,pg