Slavi Pantaleev
8a609e5cf2
Fix some ansible-lint-reported errors
2 years ago
Slavi Pantaleev
a4662660d2
Do not wait needlessly when vacuuming or importing Postgres
2 years ago
Slavi Pantaleev
9fb21b89a8
Fix import-postgres/run-postgres-vacuum failures being suppressed
...
We were only reporting failures for when the async task didn't finish.
We also need to report a failure for when the task finished, but
returned a non-zero exit code.
2 years ago
Slavi Pantaleev
7fb45a507d
Make --tags=run-postgres-vacuum and --tags=upgrade-postgres not assume Synapse
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2211
2 years ago
Slavi Pantaleev
cb2fecbea9
Fix some ansible-lint-reported warnings
2 years ago
Slavi Pantaleev
a12cbeac3b
Fix async commands
...
Fixes a regression introduced in d1b5681ba0
.
Looks like `.finished` is a property on the main object, not on some
`.async_result` object.
2 years ago
Slavi Pantaleev
d1b5681ba0
Report async task failures better
...
We were previously trying to reach into `.rc`,
but there's no such thing if `async_result.finished == 0`.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2153
2 years ago
Slavi Pantaleev
7831dc91b3
Import tasks from other roles in a better way
...
One that doesn't trip up ansible-lint, causing `load-failure` errors.
2 years ago
Slavi Pantaleev
1693c4ca1d
Fix no-changed-when ansible-lint errors
...
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#no-changed-when
2 years ago
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
2 years ago
Slavi Pantaleev
34cdaade08
Use fully-qualified module names for builtin Ansible modules
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
2 years ago
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
3 years ago
Chris van Dijk
6e3b877dc2
Remove hardcoded command paths in playbook shell usage
5 years ago
Slavi Pantaleev
0ca21d80d7
Add Synapse Maintenance docs and synapse-janitor integration
5 years ago