mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-26 07:05:19 +02:00
16 lines
433 B
YAML
16 lines
433 B
YAML
![]() |
---
|
||
|
|
||
|
- name: Compress previous version
|
||
|
command: tar cJf {{ seafile_root_dir }}/archives/{{ seafile_current_version.stdout }}.txz ./
|
||
|
environment:
|
||
|
XZ_OPT: -T0
|
||
|
args:
|
||
|
chdir: "{{ seafile_root_dir }}/archives/{{ seafile_current_version.stdout }}"
|
||
|
warn: False
|
||
|
tags: seafile
|
||
|
|
||
|
- name: Remove archive directory
|
||
|
file: path={{ seafile_root_dir }}/archives/{{ seafile_current_version.stdout }} state=absent
|
||
|
tags: seafile
|
||
|
|