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
302 B
14 lines
302 B
![]()
4 years ago
|
---
|
||
|
|
||
|
- name: Compress previous version
|
||
|
command: tar cJf {{ root_dir }}/archives/{{ version }}.txz ./
|
||
|
environment:
|
||
|
XZ_OPT: -T0
|
||
|
args:
|
||
|
chdir: "{{ root_dir }}/archives/{{ version }}"
|
||
|
warn: False
|
||
|
|
||
|
- name: Remove archive dir
|
||
|
file: path={{ root_dir }}/archives/{{ version }} state=absent
|
||
|
|