parent
0f30a53140
commit
46ba09dfc1
6 changed files with 61 additions and 11 deletions
@ -0,0 +1,10 @@ |
||||
--- |
||||
|
||||
- name: Compress previous version |
||||
command: tar cf {{ pim_root_dir }}/archives/{{ pim_current_version }}.tar.zst ./ --use-compress-program=zstd |
||||
args: |
||||
chdir: "{{ pim_root_dir }}/archives/{{ pim_current_version }}" |
||||
warn: False |
||||
environment: |
||||
ZSTD_CLEVEL: 10 |
||||
tags: pim |
@ -0,0 +1,8 @@ |
||||
--- |
||||
|
||||
- name: Remove tmp and obsolete files |
||||
file: path={{ item }} state=absent |
||||
loop: |
||||
- "{{ pim_root_dir }}/archives/{{ pim_current_version }}" |
||||
tags: pim |
||||
|
Loading…
Reference in new issue