mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 12:47:39 +01:00
19 lines
474 B
YAML
19 lines
474 B
YAML
|
|
- 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/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
|
|
|
|
- name: Ensure correct ownership of /matrix/synapse
|
|
shell: chown -R matrix:matrix /matrix/synapse
|
|
|