|
|
|
@@ -716,7 +716,7 @@ matrix_dimension_systemd_required_services_list: | |
|
|
|
|
|
|
|
# Postgres is the default, except if not using `matrix_postgres` (internal postgres) |
|
|
|
matrix_dimension_database_engine: "{{ 'postgres' if matrix_postgres_enabled else 'sqlite' }}" |
|
|
|
matrix_dimension_database_password: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'as.dimension.db') | to_uuid }}" |
|
|
|
matrix_dimension_database_password: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'dimension.db') | to_uuid }}" |
|
|
|
|
|
|
|
###################################################################### |
|
|
|
# |
|
|
|
@@ -1092,13 +1092,12 @@ matrix_postgres_additional_databases: | |
|
|
|
}] if (matrix_mx_puppet_steam_enabled |
|
|
|
and matrix_mx_puppet_steam_database_engine == 'postgres' |
|
|
|
and matrix_mx_puppet_steam_database_hostname == 'matrix-postgres') else []) |
|
|
|
+ ([{ |
|
|
|
+ |
|
|
|
([{ |
|
|
|
'name': matrix_dimension_database_db_name, |
|
|
|
'username': matrix_dimension_database_username, |
|
|
|
'password': matrix_dimension_database_password, |
|
|
|
}] if (matrix_dimension_enabled |
|
|
|
and matrix_dimension_database_engine == 'postgres' |
|
|
|
and matrix_dimension_database_hostname == 'matrix-postgres') else []) |
|
|
|
}] if (matrix_dimension_enabled and matrix_dimension_database_engine == 'postgres' and matrix_dimension_database_hostname == 'matrix-postgres') else []) |
|
|
|
}} |
|
|
|
|
|
|
|
###################################################################### |
|
|
|
|