GMH v0.3.0

This commit is contained in:
Michael
2021-03-14 14:35:38 +08:00
parent f4e462af51
commit 5a1f3b7d67
6 changed files with 100 additions and 4 deletions

View File

@ -1,12 +1,14 @@
- name: Ensure /matrix/awx is empty
shell: rm -r /matrix/awx/*
ignore_errors: yes
- name: Ensure /matrix/synapse is empty
shell: rm -r /matrix/synapse/*
ignore_errors: yes
- name: Extract from /chroot/backup
shell: tar -xvzf /chroot/backup/matrix.tar.gz -C /matrix/
- name: Extract from /chroot/export
shell: tar -xvzf /chroot/export/matrix.tar.gz -C /matrix/
- name: Ensure correct ownership of /matrix/awx
shell: chown -R matrix:matrix /matrix/awx