You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
458 B
14 lines
458 B
---
|
|
|
|
- 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 }}"
|
|
warn: False
|
|
tags: diagrams
|
|
|
|
- name: Remove the arachive directory
|
|
file: path={{ diagrams_root_dir }}/archives/{{ diagrams_current_version }} state=absent
|
|
tags: diagrams
|
|
|