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:
17
roles/unmaintained/psono/tasks/archive_post.yml
Normal file
17
roles/unmaintained/psono/tasks/archive_post.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
|
||||
- name: Compress previous version
|
||||
command: tar cf {{ psono_root_dir }}/archives/{{ item.component }}_{{ item.version }}.txz ./
|
||||
environment:
|
||||
XZ_OPT: -T0
|
||||
args:
|
||||
chdir: "{{ psono_server_root_dir }}/archives/{{ item.component }}_{{ item.version }}"
|
||||
warn: False
|
||||
loop:
|
||||
- component: server
|
||||
version: "{{ psono_server_current_version }}"
|
||||
- component: client
|
||||
version: "{{ psono_client_current_version }}"
|
||||
- component: admin
|
||||
version: "{{ psono_admin_current_version }}"
|
||||
tags: psono
|
Reference in New Issue
Block a user