Fix concatenation of additional databases
Otherwise the postgres upgrade fails with the following error: Unexpected templating type error occurred on ({{ [matrix_postgres_connection_username] + matrix_postgres_additional_databases|map(attribute='username') }} ): can only concatenate list (not "generator") to list
This commit is contained in:
parent
a2a4218e95
commit
befffa926b
|
@ -1098,14 +1098,14 @@ matrix_postgres_import_roles_to_ignore: |
|
||||||
{{
|
{{
|
||||||
[matrix_postgres_connection_username]
|
[matrix_postgres_connection_username]
|
||||||
+
|
+
|
||||||
matrix_postgres_additional_databases|map(attribute='username')
|
matrix_postgres_additional_databases|map(attribute='username')|list
|
||||||
}}
|
}}
|
||||||
|
|
||||||
matrix_postgres_import_databases_to_ignore: |
|
matrix_postgres_import_databases_to_ignore: |
|
||||||
{{
|
{{
|
||||||
[matrix_postgres_db_name]
|
[matrix_postgres_db_name]
|
||||||
+
|
+
|
||||||
matrix_postgres_additional_databases|map(attribute='name')
|
matrix_postgres_additional_databases|map(attribute='name')|list
|
||||||
}}
|
}}
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
Loading…
Reference in a new issue