2021-02-11 18:18:25 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Fail if required Postgres settings not defined
|
|
|
|
fail:
|
|
|
|
msg: >-
|
|
|
|
You need to define a required configuration setting (`{{ item }}`).
|
|
|
|
when: "vars[item] == ''"
|
|
|
|
with_items:
|
2021-03-16 11:24:47 +02:00
|
|
|
- "matrix_postgres_backup_connection_hostname"
|
|
|
|
- "matrix_postgres_backup_connection_username"
|
|
|
|
- "matrix_postgres_backup_connection_password"
|
|
|
|
- "matrix_postgres_backup_connection_port"
|
2021-02-11 18:18:25 +02:00
|
|
|
- "matrix_postgres_backup_schedule"
|
|
|
|
- "matrix_postgres_backup_keep_days"
|
|
|
|
- "matrix_postgres_backup_keep_weeks"
|
|
|
|
- "matrix_postgres_backup_keep_months"
|
|
|
|
- "matrix_postgres_backup_path"
|
2021-03-16 11:49:04 +02:00
|
|
|
- "matrix_postgres_backup_db_list"
|