mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2022-07-25 16:00
This commit is contained in:
14
roles/odoo/tasks/archive_post.yml
Normal file
14
roles/odoo/tasks/archive_post.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
|
||||
- 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 }}"
|
||||
warn: False
|
||||
environment:
|
||||
ZSTD_CLEVEL: 10
|
||||
tags: odoo
|
||||
|
||||
- name: Remove archive tmp dir
|
||||
file: path={{ odoo_root_dir }}/archives/{{ odoo_current_version }} state=absent
|
||||
tags: odoo
|
Reference in New Issue
Block a user