Do not override matrix_postgres_import_roles_to_ignore/matrix_postgres_import_databases_to_ignore in group_vars

These values that we were setting also make sense in the context of the
`matrix-postgres` role even when not used within the playbook.
This commit is contained in:
Slavi Pantaleev
2022-10-21 10:00:49 +03:00
parent e2b517b7c0
commit 0b44ec19b4
2 changed files with 12 additions and 16 deletions

View File

@ -2112,20 +2112,6 @@ matrix_postgres_additional_databases: |
}}
matrix_postgres_import_roles_to_ignore: |
{{
[matrix_postgres_connection_username]
+
matrix_postgres_additional_databases|map(attribute='username') | list
}}
matrix_postgres_import_databases_to_ignore: |
{{
[matrix_postgres_db_name]
+
matrix_postgres_additional_databases|map(attribute='name') | list
}}
######################################################################
#
# /matrix-postgres