ansible-roles/roles/pgweb/tasks/archive_post.yml

11 lines
298 B
YAML

---
- name: Compress previous version
command: tar cf {{ pgweb_root_dir }}/archives/{{ pgweb_current_version }}.tar.zst --use-compress-program=zstd ./
args:
chdir: "{{ pgweb_root_dir }}/archives/{{ pgweb_current_version }}"
warn: False
environment:
ZSTD_CLEVEL: 10
tags: pgweb