Sebastian Gumprich
48388a3d96
use fqcns for some task
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
3 лет назад
Slavi Pantaleev
7303f9241c
Fix yamllint error
3 лет назад
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.
3 лет назад
Slavi Pantaleev
6cacf7297d
Add support for postgres-backup-local v15
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2200
3 лет назад
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
3 лет назад
Slavi Pantaleev
7831dc91b3
Import tasks from other roles in a better way
One that doesn't trip up ansible-lint, causing `load-failure` errors.
3 лет назад
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
3 лет назад
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
3 лет назад
Slavi Pantaleev
34cdaade08
Use fully-qualified module names for builtin Ansible modules
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
3 лет назад
Aine
e149f33140
add/unify 'Project source code URL' link across all roles
3 лет назад
Slavi Pantaleev
0364c6c634
Suppress old container cleanup (kill/rm) failures
People often report and ask about these "failures".
More-so previously, when the `docker kill/rm` output was collected,
but it still happens now when people do `systemctl status
matrix-something` and notice that it says "FAILURE".
Suppressing to avoid further time being wasted on saying "this is
expected".
3 лет назад
Aine
5f0ece0c28
fix permissions
3 лет назад
Aine
2da3768b20
Added retries to the docker pulls ( #1701 )
4 лет назад
Aine
701591e87e
Added retries to the docker pulls
4 лет назад
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 лет назад
Slavi Pantaleev
86c36523df
Replace ExecStopPost with ExecStop
Reverts b1b4ba501fdfaa, 90c9801c560b6, a3c84f78ca9c65a, ..
I haven't really traced it (yet), but on some servers, I'm observing
`ansible-playbook ... --tags=start` completing very slowly, waiting
to stop services. I can't reproduce this on all Matrix servers I manage.
I suspect that either the systemd version is to blame or that some
specific service is not responding well to some `docker kill/rm` command.
`ExecStop` seems to work great in all cases and it's what we've been
using for a very long time, so I'm reverting to that.
4 лет назад
Slavi Pantaleev
b1b4ba501f
Replace ExecStop with ExecStopPost
ExecStopPost should allow us to clean up (docker kill + docker rm)
even if the ExecStart (docker run ..) command failed, and not just after
a graceful service stop was initiated.
Source: https://www.freedesktop.org/software/systemd/man/systemd.service.html#ExecStopPost=
4 лет назад
Slavi Pantaleev
ff720bedce
Upgrade matrix-postgres-backup default to v14
Related to c08880d175
4 лет назад
Slavi Pantaleev
c08880d175
Upgrade postgres-backup to v14
4 лет назад
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.
4 лет назад
Michael Collins
98e6cd685d
sync with previous repo
4 лет назад
Michael-GMH
89cb5a3d7a
GMH v0.4.2 update
4 лет назад
Ahmad Haghighi
e335f3fc77
rename matrix_global_registry to matrix_container_global_registry_prefix related to #990
Signed-off-by: Ahmad Haghighi <haghighi@fedoraproject.org>
4 лет назад
Ahmad Haghighi
f52a8b6484
use custom docker registry
4 лет назад
Slavi Pantaleev
c386e8e9db
Use integers for some variables
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/868
4 лет назад
Slavi Pantaleev
832e191ab8
Fix incorrect variable usage in when statement
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/868
4 лет назад
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
4 лет назад
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
4 лет назад
foxcris
2178f3612f
- matrix_postgres_backup_databases now uses more simple structure
4 лет назад
foxcris
76fbc59b61
- adapted documentation
- removed build_database_list.yml
5 лет назад
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
5 лет назад
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
5 лет назад
foxcris
604ffe7d79
- adapted validate_config.yml to use the renamed variables
5 лет назад
foxcris
ecc6bdb3ca
- changed variables names to use role specific one and redefine them using group_vars/matrix_servers
5 лет назад
foxcris
1e45eeab7b
- fixed typo
5 лет назад
foxcris
88d59f97c2
-
5 лет назад
foxcris
0fe6352cf7
- Added role to setup https://github.com/prodrigestivill/docker-postgres-backup-local container to backup all postgres databases
5 лет назад