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