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.
2022-11-01 14:57:29 +02:00
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
2022-10-28 17:40:12 +03:00
Slavi Pantaleev
cb2fecbea9
Fix some ansible-lint-reported warnings
2022-10-25 06:43:57 +03:00
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.
2022-10-06 19:48:11 +03:00
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
2022-10-06 10:04:37 +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
1693c4ca1d
Fix no-changed-when ansible-lint errors
...
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#no-changed-when
2022-07-18 15:08:10 +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
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
2022-02-05 21:32:54 +01:00
Chris van Dijk
6e3b877dc2
Remove hardcoded command paths in playbook shell usage
2020-05-27 23:14:56 +02:00
Slavi Pantaleev
0ca21d80d7
Add Synapse Maintenance docs and synapse-janitor integration
2019-07-08 09:38:36 +03:00