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.
 
 

22 lines
613 B

  1. - name: Ensure /matrix/awx is empty
  2. shell: rm -r /matrix/awx/*
  3. - name: Ensure /matrix/synapse is empty
  4. shell: rm -r /matrix/synapse/*
  5. - name: Extract from /chroot/backup
  6. shell: tar -xvzf /chroot/backup/matrix.tar.gz -C /matrix/
  7. - name: Ensure correct ownership of /matrix/awx
  8. shell: chown -R matrix:matrix /matrix/awx
  9. - name: Ensure correct ownership of /matrix/synapse
  10. shell: chown -R matrix:matrix /matrix/synapse
  11. - name: Fetch matrix_vars.yml file to AWX
  12. fetch:
  13. src: /matrix/awx/matrix_vars.yml
  14. dest: /var/lib/awx/projects/clients/{{ member_id }}/{{ subscription_id }}/
  15. flat: yes