mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
13 lines
321 B
YAML
13 lines
321 B
YAML
---
|
|
|
|
- name: Compress previous version
|
|
command: tar cf {{ root_dir }}/archives/{{ version }}.tar.zst --use-compress-program=zstd ./
|
|
environment:
|
|
ZSTD_CLEVEL: 10
|
|
args:
|
|
chdir: "{{ root_dir }}/archives/{{ version }}"
|
|
|
|
- name: Remove archive dir
|
|
file: path={{ root_dir }}/archives/{{ version }} state=absent
|
|
|