diff --git a/group_vars/matrix_servers b/group_vars/matrix_servers index 2f10e72e0..1d89b451c 100755 --- a/group_vars/matrix_servers +++ b/group_vars/matrix_servers @@ -4027,7 +4027,7 @@ postgres_managed_databases_auto: | 'name': matrix_authentication_service_config_database_database, 'username': matrix_authentication_service_config_database_username, 'password': matrix_authentication_service_config_database_password, - }] if (matrix_authentication_service_config_database_host == postgres_connection_hostname) else []) + }] if (matrix_authentication_service_enabled and matrix_authentication_service_config_database_host == postgres_connection_hostname) else []) + ([{ 'name': matrix_sliding_sync_database_name,