mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-20 04:03:15 +02:00
15 lines
454 B
YAML
15 lines
454 B
YAML
![]() |
---
|
||
|
|
||
|
- name: Compress previous version
|
||
|
command: tar cf {{ squashtm_root_dir }}/archives/{{ squashtm_current_version }}.tar.zst --use-compress-program=zstd ./
|
||
|
args:
|
||
|
chdir: "{{ squashtm_root_dir }}/archives/{{ squashtm_current_version }}"
|
||
|
environment:
|
||
|
ZSTD_CLEVEL: 10
|
||
|
ZSTD_NBTHREADS: 0
|
||
|
tags: squashtm
|
||
|
|
||
|
- name: Remove archive dir
|
||
|
file: path={{ squashtm_root_dir }}/archives/{{ squashtm_current_version }} state=absent
|
||
|
tags: squashtm
|