Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
527 B

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