From 19b5a50805c20ef01fc605505f19a7abea1f195a Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sat, 8 Jan 2022 09:08:55 +0200 Subject: [PATCH] Derive Honoroit database password from matrix_homeserver_generic_secret_key Related to the work done in https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/818 --- group_vars/matrix_servers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/group_vars/matrix_servers b/group_vars/matrix_servers index 57319eba0..0696b148c 100755 --- a/group_vars/matrix_servers +++ b/group_vars/matrix_servers @@ -982,7 +982,7 @@ matrix_bot_honoroit_systemd_required_services_list: | # Postgres is the default, except if not using `matrix_postgres` (internal postgres) matrix_bot_honoroit_database_engine: "{{ 'postgres' if matrix_postgres_enabled else 'sqlite' }}" -matrix_bot_honoroit_database_password: "{{ '%s' | format(matrix_synapse_macaroon_secret_key) | password_hash('sha512', 'honoroit.bot.db') | to_uuid }}" +matrix_bot_honoroit_database_password: "{{ '%s' | format(matrix_homeserver_generic_secret_key) | password_hash('sha512', 'honoroit.bot.db') | to_uuid }}" matrix_bot_honoroit_container_image_self_build: "{{ matrix_architecture != 'amd64' }}" ######################################################################