mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
12
roles/vaultwarden/tasks/archive_post.yml
Normal file
12
roles/vaultwarden/tasks/archive_post.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
|
||||
- name: Compress previous version
|
||||
command: tar cJf {{ vaultwarden_root_dir }}/archives/{{ vaultwarden_current_version }}+{{ vaultwarden_web_current_version }}.txz ./
|
||||
args:
|
||||
warn: False
|
||||
chdir: "{{ vaultwarden_root_dir }}/archives/{{ vaultwarden_current_version }}+{{ vaultwarden_web_current_version }}"
|
||||
tags: vaultwarden
|
||||
|
||||
- name: Remove archive dir
|
||||
file: path={{ vaultwarden_root_dir }}/archives/{{ vaultwarden_current_version }}+{{ vaultwarden_web_current_version }} state=absent
|
||||
tags: vaultwarden
|
Reference in New Issue
Block a user