mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 00:57:00 +02:00
Update to 2022-02-18 16:00
This commit is contained in:
13
roles/pgweb/tasks/cleanup.yml
Normal file
13
roles/pgweb/tasks/cleanup.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
|
||||
- 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
|
Reference in New Issue
Block a user