Update to 2021-12-01 19:13

This commit is contained in:
Daniel Berteaud
2021-12-01 19:13:34 +01:00
commit 4c4556c660
2153 changed files with 60999 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
---
- name: Stop the service
service: name=matrix-ma1sd state=stopped
tags: matrix
- name: Create archive dir
file: path={{ ma1sd_root_dir }}/archives/{{ ma1sd_current_version }} state=directory
tags: matrix
- name: Archive current version
synchronize:
src: "{{ ma1sd_root_dir }}/{{ item }}"
dest: "{{ ma1sd_root_dir }}/archives/{{ ma1sd_current_version }}/"
recursive: True
delete: True
delegate_to: "{{ inventory_hostname }}"
loop:
- app
- db
- etc
tags: matrix