--- - 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