소스 검색

Do not execute additional databases creation code if not necessary

The tasks in `create_additional_databases.yml` will likely
ensure `matrix-postgres.service` is started, etc.

If no additional databases are defined, we'd rather not execute that
file and all these tasks that it may do in the future.
pull/740/head
Slavi Pantaleev 5 년 전
부모
커밋
bbc09d013b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      roles/matrix-postgres/tasks/setup_postgres.yml

+ 1
- 1
roles/matrix-postgres/tasks/setup_postgres.yml 파일 보기

@@ -118,7 +118,7 @@
apply:
tags:
- always
when: "matrix_postgres_enabled|bool"
when: "matrix_postgres_enabled|bool and matrix_postgres_additional_databases|length > 0"

#
# Tasks related to getting rid of the internal postgres server (if it was previously enabled)


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