Use integers for some variables

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/868
This commit is contained in:
Slavi Pantaleev 2021-04-05 11:38:23 +03:00
parent 832e191ab8
commit c386e8e9db
2 changed files with 6 additions and 6 deletions

View File

@ -17,9 +17,9 @@ Refer to the table below for additional configuration variables and their defaul
| :-------------------------------- | :--------------------------- | :--------------------------------------------------------------- | | :-------------------------------- | :--------------------------- | :--------------------------------------------------------------- |
|`matrix_postgres_backup_enabled`|`false`|Set to true to use [docker-postgres-backup-local](https://github.com/prodrigestivill/docker-postgres-backup-local) to create automatic database backups| |`matrix_postgres_backup_enabled`|`false`|Set to true to use [docker-postgres-backup-local](https://github.com/prodrigestivill/docker-postgres-backup-local) to create automatic database backups|
|`matrix_postgres_backup_schedule`| `'@daily'` |Cron-schedule specifying the interval between postgres backups.| |`matrix_postgres_backup_schedule`| `'@daily'` |Cron-schedule specifying the interval between postgres backups.|
|`matrix_postgres_backup_keep_days`|`"7"`|Number of daily backups to keep| |`matrix_postgres_backup_keep_days`|`7`|Number of daily backups to keep|
|`matrix_postgres_backup_keep_weeks`|`"4"`|Number of weekly backups to keep| |`matrix_postgres_backup_keep_weeks`|`4`|Number of weekly backups to keep|
|`matrix_postgres_backup_keep_months`|`"12"`|Number of monthly backups to keep| |`matrix_postgres_backup_keep_months`|`12`|Number of monthly backups to keep|
|`matrix_postgres_backup_path` | `"{{ matrix_base_data_path }}/postgres-backup"` | Storagepath for the database backups| |`matrix_postgres_backup_path` | `"{{ matrix_base_data_path }}/postgres-backup"` | Storagepath for the database backups|

View File

@ -7,9 +7,9 @@ matrix_postgres_backup_connection_password: ""
matrix_postgres_backup_extra_opts: "-Z9 --schema=public --blobs" matrix_postgres_backup_extra_opts: "-Z9 --schema=public --blobs"
matrix_postgres_backup_schedule: "@daily" matrix_postgres_backup_schedule: "@daily"
matrix_postgres_backup_keep_days: "7" matrix_postgres_backup_keep_days: 7
matrix_postgres_backup_keep_weeks: "4" matrix_postgres_backup_keep_weeks: 4
matrix_postgres_backup_keep_months: "12" matrix_postgres_backup_keep_months: 12
matrix_postgres_backup_healthcheck_port: "8080" matrix_postgres_backup_healthcheck_port: "8080"
matrix_postgres_backup_databases: [] matrix_postgres_backup_databases: []
matrix_postgres_backup_path: "{{ matrix_base_data_path }}/postgres-backup" matrix_postgres_backup_path: "{{ matrix_base_data_path }}/postgres-backup"