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

11 lines
298 B
YAML
Raw Normal View History

2022-02-18 16:00:06 +01:00
---
- 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