mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-25 14:43:29 +02:00
16 lines
425 B
YAML
16 lines
425 B
YAML
![]() |
---
|
||
|
|
||
|
- name: Compress previous version
|
||
|
command: tar cf {{ nomad_root_dir }}/archives/{{ nomad_current_version }}.tar.zst --use-compress-program=zstd ./
|
||
|
args:
|
||
|
chdir: "{{ nomad_root_dir }}/archives/{{ nomad_current_version }}"
|
||
|
warn: False
|
||
|
environment:
|
||
|
ZSTD_CLEVEL: 10
|
||
|
tags: nomad
|
||
|
|
||
|
- name: Remove archive dir
|
||
|
file: path={{ nomad_root_dir }}/archives/{{ nomad_current_version }} state=absent
|
||
|
tags: nomad
|
||
|
|