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
22 lines
613 B
4 years ago
|
|
||
|
- name: Ensure /matrix/awx is empty
|
||
|
shell: rm -r /matrix/awx/*
|
||
|
|
||
|
- name: Ensure /matrix/synapse is empty
|
||
|
shell: rm -r /matrix/synapse/*
|
||
|
|
||
|
- name: Extract from /chroot/backup
|
||
|
shell: tar -xvzf /chroot/backup/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
|
||
|
|
||
|
- name: Fetch matrix_vars.yml file to AWX
|
||
|
fetch:
|
||
|
src: /matrix/awx/matrix_vars.yml
|
||
|
dest: /var/lib/awx/projects/clients/{{ member_id }}/{{ subscription_id }}/
|
||
|
flat: yes
|