Matrix Docker Ansible eploy
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.
 
 

19 lines
474 B

  1. - name: Ensure /matrix/awx is empty
  2. shell: rm -r /matrix/awx/*
  3. ignore_errors: yes
  4. - name: Ensure /matrix/synapse is empty
  5. shell: rm -r /matrix/synapse/*
  6. ignore_errors: yes
  7. - name: Extract from /chroot/export
  8. shell: tar -xvzf /chroot/export/matrix.tar.gz -C /matrix/
  9. - name: Ensure correct ownership of /matrix/awx
  10. shell: chown -R matrix:matrix /matrix/awx
  11. - name: Ensure correct ownership of /matrix/synapse
  12. shell: chown -R matrix:matrix /matrix/synapse