Skip to content

Commit 62ce06e

Browse files
authored
Merge pull request spantaleev#1298 from GoMatrixHosting/gomatrixhosting-testing
GoMatrixHosting v0.6.0
2 parents 72688a4 + 9a4187c commit 62ce06e

File tree

5 files changed

+27
-4
lines changed

5 files changed

+27
-4
lines changed

docs/configuring-awx-system.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The following repositories allow you to copy and use this setup:
2626

2727
Updates 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?

roles/matrix-awx/tasks/main.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
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"
@@ -62,6 +62,15 @@
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"

roles/matrix-awx/tasks/rename_variables.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@
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-
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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

setup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@
5656
- matrix-aux
5757
- matrix-postgres-backup
5858
- matrix-prometheus-postgres-exporter
59-
- matrix-common-after
59+
- matrix-common-after

0 commit comments

Comments
 (0)