mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2023-03-17 16:00
This commit is contained in:
13
roles/offen/tasks/archive_post.yml
Normal file
13
roles/offen/tasks/archive_post.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
|
||||
- name: Compress previous version
|
||||
command: tar cf {{ offen_root_dir }}/archives/{{ offen_current_version }}.tar.zst --use-compress-program=zstd ./
|
||||
args:
|
||||
chdir: "{{ offen_root_dir }}/archives/{{ offen_current_version }}"
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
tags: offen
|
||||
|
||||
- name: Remove uncompressed previous version
|
||||
file: path={{ offen_root_dir }}/archives/{{ offen_current_version }} state=absent
|
||||
tags: offen
|
Reference in New Issue
Block a user