mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 20:45:48 +00:00
- fixed error with generator function
This commit is contained in:
parent
2178f3612f
commit
14b8e3a3ab
@ -1422,11 +1422,11 @@ matrix_postgres_backup_connection_password: "{{ matrix_postgres_connection_passw
|
|||||||
# the default matrix synapse databse is not always part of the matrix_postgres_additional_databases variable thus we have to add it if the default database is used
|
# the default matrix synapse databse is not always part of the matrix_postgres_additional_databases variable thus we have to add it if the default database is used
|
||||||
matrix_postgres_backup_databases: |
|
matrix_postgres_backup_databases: |
|
||||||
{{
|
{{
|
||||||
([
|
(([{
|
||||||
matrix_synapse_database_database,
|
'name': matrix_synapse_database_database
|
||||||
] if (matrix_synapse_enabled and matrix_synapse_database_database == matrix_postgres_db_name and matrix_synapse_database_host == 'matrix-postgres') else [])
|
}] if (matrix_synapse_enabled and matrix_synapse_database_database == matrix_postgres_db_name and matrix_synapse_database_host == 'matrix-postgres') else [])
|
||||||
+
|
+
|
||||||
matrix_postgres_additional_databases|map(attribute='name')
|
matrix_postgres_additional_databases)|map(attribute='name')|list
|
||||||
}}
|
}}
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user