mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-27 03:18:31 +01:00
11cd1cb0fa
- add matrix_postgres_backup_databases to be build on top of matrix_postgres_additional_databases - POSTGRES_DB is now directly set from matrix_postgres_backup_databases while building the templates/env-postgres-backup.j2
19 lines
638 B
YAML
19 lines
638 B
YAML
---
|
|
|
|
- name: Fail if required Postgres settings not defined
|
|
fail:
|
|
msg: >-
|
|
You need to define a required configuration setting (`{{ item }}`).
|
|
when: "vars[item] == ''"
|
|
with_items:
|
|
- "matrix_postgres_backup_connection_hostname"
|
|
- "matrix_postgres_backup_connection_username"
|
|
- "matrix_postgres_backup_connection_password"
|
|
- "matrix_postgres_backup_connection_port"
|
|
- "matrix_postgres_backup_schedule"
|
|
- "matrix_postgres_backup_keep_days"
|
|
- "matrix_postgres_backup_keep_weeks"
|
|
- "matrix_postgres_backup_keep_months"
|
|
- "matrix_postgres_backup_path"
|
|
- "matrix_postgres_backup_databases"
|