1
0
mirror of https://git.lapiole.org/dani/ansible-roles.git synced 2025-04-28 08:03:25 +02:00
2022-12-27 12:00:12 +01:00

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