Add matrix-authentication-service & necessary Synapse adjustments #402
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "matrix-authentication-service"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This adds a role for the Matrix Authentication Service (MAS).
Additionally, some changes to Synapse's reverse proxying were necessary.
Please see the respective commits for details.
08b6250b7b
to2e60c72fdc
2e60c72fdc
todc62953537
a few nits otherwise LGTM
@ -0,0 +4,4 @@
listen: "matrix authentication service selinux context changed"
- name: Restart matrix authentication service-postgres service.
ansible.builtin.systemd:
FYI
ansible.builtin.systemd
was renamed toansible.builtin.systemd_service
some time in 2023 (i think)ansible.builtin.systemd
is kept as an alias for backwards compatibilityit's probably fine as is and i might replace all occurrences of this in a PR soon enough, just to give a heads up here
@ -0,0 +79,4 @@
ansible.builtin.stat:
path: "{{ caddy_install_dir }}/config"
become: true
register: caddy_stat_config_dir
tbh just name this
matrix_authentication_service_caddy_stat_config_dir
i'm not sure if this could ever meaningfully clash with the caddy role, but we should just not risk it.
this change would also get rid of the ansible-lint violation
@ -0,0 +13,4 @@
HealthCmd = CMD pg_isready -U mas -d matrix_authentication_service
# AutoUpdate = registry
this should either be removed or uncommented
@ -0,0 +20,4 @@
User = 70
Group = 70
# NoNewPrivileges = true
is this a problem in this setup? or why is it commented?
@ -0,0 +13,4 @@
Image = {{ matrix_authentication_service_containerimage }}:{{ matrix_authentication_service_image_tag }}
ContainerName = matrix-authentication-service
# AutoUpdate = registry
should be removed or uncommented
dc62953537
to56a9ae17d2
56a9ae17d2
to13c7544301
13c7544301
to113613bdaa