Slavi Pantaleev
35c5c23a3e
Remove useless tasks from matrix-postgres-backup role
...
`matrix-postgres-backup` reuses the `matrix-postgres` role for these
tasks, not its own definitions.
2022-10-27 06:51:31 +03:00
Slavi Pantaleev
e5e5ee4f72
Use fixed image tags for prodrigestivill/postgres-backup-local
...
At some point, we can drop v9.6 support and use a single variable
that holds this value.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2191
2022-10-27 06:51:31 +03:00
Slavi Pantaleev
7831dc91b3
Import tasks from other roles in a better way
...
One that doesn't trip up ansible-lint, causing `load-failure` errors.
2022-07-18 16:15:04 +03:00
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
2022-07-18 13:01:19 +03:00
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
2022-07-18 13:01:17 +03:00
Slavi Pantaleev
34cdaade08
Use fully-qualified module names for builtin Ansible modules
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
2022-07-18 12:58:41 +03:00
Aine
5f0ece0c28
fix permissions
2022-04-03 00:49:57 +03:00
Aine
701591e87e
Added retries to the docker pulls
2022-03-17 17:30:48 +02:00
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
2022-02-05 21:32:54 +01:00
Slavi Pantaleev
c08880d175
Upgrade postgres-backup to v14
2021-11-15 09:15:44 +02:00
Slavi Pantaleev
735c966ab6
Disable systemd services when stopping to uninstall them
...
Until now, we were leaving services "enabled"
(symlinks in /etc/systemd/system/multi-user.target.wants/).
We clean these up now. Broken symlinks may still exist in older
installations that enabled/disabled services. We're not taking care
to fix these up. It's just a cosmetic defect anyway.
2021-11-10 17:39:21 +02:00
Slavi Pantaleev
832e191ab8
Fix incorrect variable usage in when statement
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/868
2021-04-05 11:32:48 +03:00
Slavi Pantaleev
1b55766927
Do not redefine matrix-postgres role vars in matrix-postgres-backup
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/868
2021-04-05 11:32:19 +03:00
Slavi Pantaleev
298556e02e
Fix undefined matrix_postgres_backup_detected_version_corresponding_docker_image
...
.. and prevent variable name overlap with `matrix-postgres` for the
other variables as well.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/868
2021-04-05 11:23:12 +03:00
foxcris
76fbc59b61
- adapted documentation
...
- removed build_database_list.yml
2021-03-16 11:50:01 +01:00
foxcris
11cd1cb0fa
- removed matrix_postgres_backup_db_list variable
...
- 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
2021-03-16 11:40:16 +01:00
foxcris
43f7d9afb6
- removed dynamic building of the postgres db list an reused matrix_postgres_additional_databases in group_vars/matrix_servers as source for the list
...
- adjusted env-postgres-backup.j2 to use the new role specific variables
2021-03-16 10:49:04 +01:00
foxcris
604ffe7d79
- adapted validate_config.yml to use the renamed variables
2021-03-16 10:24:47 +01:00
foxcris
88d59f97c2
-
2021-03-06 11:43:59 +01:00
foxcris
0fe6352cf7
- Added role to setup https://github.com/prodrigestivill/docker-postgres-backup-local container to backup all postgres databases
2021-02-11 17:18:25 +01:00