mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-25 22:53:23 +02:00
14 lines
426 B
YAML
14 lines
426 B
YAML
![]() |
---
|
||
|
|
||
|
- name: Compress previous version
|
||
|
command: tar cf {{ offen_root_dir }}/archives/{{ offen_current_version }}.tar.zst --use-compress-program=zstd ./
|
||
|
args:
|
||
|
chdir: "{{ offen_root_dir }}/archives/{{ offen_current_version }}"
|
||
|
environment:
|
||
|
ZSTD_CLEVEL: 10
|
||
|
tags: offen
|
||
|
|
||
|
- name: Remove uncompressed previous version
|
||
|
file: path={{ offen_root_dir }}/archives/{{ offen_current_version }} state=absent
|
||
|
tags: offen
|