mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
14 lines
441 B
YAML
14 lines
441 B
YAML
---
|
|
|
|
- name: Compress previous version
|
|
command: tar cf {{ diagrams_root_dir }}/archives/{{ diagrams_current_version }}.tar.zst --use-compress-program=zstd ./
|
|
environment:
|
|
ZST_CLEVEL: 10
|
|
args:
|
|
chdir: "{{ diagrams_root_dir }}/archives/{{ diagrams_current_version }}"
|
|
tags: diagrams
|
|
|
|
- name: Remove the archive directory
|
|
file: path={{ diagrams_root_dir }}/archives/{{ diagrams_current_version }} state=absent
|
|
tags: diagrams
|