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.
08b6250b7b2e60c72fdc2e60c72fdcdc62953537a 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.systemdwas renamed toansible.builtin.systemd_servicesome time in 2023 (i think)ansible.builtin.systemdis 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: trueregister: caddy_stat_config_dirtbh just name this
matrix_authentication_service_caddy_stat_config_diri'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 = registrythis should either be removed or uncommented
@ -0,0 +20,4 @@User = 70Group = 70# NoNewPrivileges = trueis 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 = registryshould be removed or uncommented
dc6295353756a9ae17d256a9ae17d213c754430113c7544301113613bdaa