mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
15 lines
417 B
YAML
15 lines
417 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 }}"
|
|
tags: seafile
|
|
|
|
- name: Remove archive directory
|
|
file: path={{ seafile_root_dir }}/archives/{{ seafile_current_version.stdout }} state=absent
|
|
tags: seafile
|
|
|