Ansible roles
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
337 B

---
- 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 }}"
warn: False
- name: Remove archive dir
file: path={{ root_dir }}/archives/{{ version }} state=absent