소스 검색

- fixed error with generator function

pull/868/head
foxcris 5 년 전
부모
커밋
14b8e3a3ab
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +4
    -4
      group_vars/matrix_servers

+ 4
- 4
group_vars/matrix_servers 파일 보기

@@ -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
matrix_postgres_backup_databases: |
{{
([
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 [])
(([{
'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 [])
+
matrix_postgres_additional_databases|map(attribute='name')
matrix_postgres_additional_databases)|map(attribute='name')|list
}}

######################################################################


불러오는 중...
취소
저장