File tree Expand file tree Collapse file tree 5 files changed +27
-4
lines changed Expand file tree Collapse file tree 5 files changed +27
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ The following repositories allow you to copy and use this setup:
2626
2727Updates to this section are trailed here:
2828
29- [ GoMatrixHosting Matrix Docker Ansible Deploy] ( https://gitlab.com/GoMatrixHosting/gomatrixhosting- matrix-docker-ansible-deploy )
29+ [ GoMatrixHosting Matrix Docker Ansible Deploy] ( https://gitlab.com/GoMatrixHosting/matrix-docker-ansible-deploy )
3030
3131
3232## Does I need an AWX setup to use this? How do I configure it?
Original file line number Diff line number Diff line change 2525 when : run_setup|bool and matrix_awx_enabled|bool
2626 tags :
2727 - backup-server
28-
28+
2929# Perform a export of the server
3030- include_tasks :
3131 file : " export_server.yml"
6262 tags :
6363 - purge-database
6464
65+ # Rotate SSH key if called
66+ - include_tasks :
67+ file : " rotate_ssh.yml"
68+ apply :
69+ tags : rotate-ssh
70+ when : run_setup|bool and matrix_awx_enabled|bool
71+ tags :
72+ - rotate-ssh
73+
6574# Import configs, media repo from /chroot/backup import
6675- include_tasks :
6776 file : " import_awx.yml"
Original file line number Diff line number Diff line change 55 path : " /var/lib/awx/projects/clients/{{ member_id }}/{{ subscription_id }}/matrix_vars.yml"
66 regexp : ' matrix_synapse_use_presence'
77 replace : ' matrix_synapse_presence_enabled'
8-
Original file line number Diff line number Diff line change 1+
2+ - name : Set the new authorized key taken from file
3+ authorized_key :
4+ user : root
5+ state : present
6+ exclusive : yes
7+ key : " {{ lookup('file', '/var/lib/awx/projects/hosting/client_public.key') }}"
8+
9+ - name : Set boolean value to exit playbook
10+ set_fact :
11+ end_playbook : true
12+
13+ - name : End playbook if this task list is called.
14+ meta : end_play
15+ when : end_playbook is defined and end_playbook|bool
Original file line number Diff line number Diff line change 5656 - matrix-aux
5757 - matrix-postgres-backup
5858 - matrix-prometheus-postgres-exporter
59- - matrix-common-after
59+ - matrix-common-after
You can’t perform that action at this time.
0 commit comments