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