Slavi Pantaleev
51ab9ed9ff
Adjust `lstrip_blocks` to use a `bool` value for compatibility with ansible-core>=2.19.0
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4445
7 месяцев назад
Slavi Pantaleev
465df3a949
Add support for synapse-http-antispam and integrate it with Draupnir
Supersedes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4284
10 месяцев назад
Catalan Lover
166f412783
Modernise Draupnir Configuration Variable Names ( #4170 )
* Modernise Draupnir Configuration Variable Names
* Move Draupnir deprecation-check task before undefined-variables-check
* Fix trailing spaces in Draupnir's `validate_config.yml`
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
11 месяцев назад
Suguru Hirahara
e1c03dc7ff
Add license information to a role
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 год назад
Slavi Pantaleev
d12643eb91
Do not use `docker stop --time` (deprecated in Docker v28 in favor of `--timeout` or just `-t`)
`-t` works on both old and new Docker versions, so it's best to use that.
1 год назад
Chasethechicken
4d46b625ff
Draupnir proxy ( #3313 )
* Allow redircting abuse-reports to draupnir
* Document redirecting abuse-reports to draupnir via traefik
* Apply suggestions from code review
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
* Rename variable
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
1 год назад
Catalan Lover
c4992ca018
Explicitly Declare Draupnir and Mjolnir Config and enter Bot Mode
This should resolve [#2296 ](https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2296 ) by fixing the noted issue.
This also paves the way for in the future working on D4A mode but that would require a rework to how these variables are done.
2 лет назад
Slavi Pantaleev
c0308307e2
Make homeserver services sleep after startup, instead of all dependencies sleeping separately
This is an attempt at optimizing service startup.
The effect is most pronounced when many services are restarted one by one.
The systemd service manager role sometimes does this - for example when `just install-service synapse` runs.
In such cases, a 5-second delay for each Synapse worker service
(or other bridge/bot service that waits on the homeserver) quickly adds up to a lot.
When services are all stopped fully and then started, the effect is not so pronounced, because
`matrix-synapse.service` starts first and pulls all worker services (defined as `Wants=` for it).
Later on, when the systemd service manager role "starts" these worker services, they're started already.
Even if they had a 5-second wait each, it would have happened in parallel.
2 лет назад
Slavi Pantaleev
88ad58fccb
Move matrix-bot-draupnir to its own container network
2 лет назад
Slavi Pantaleev
2511b34a7c
Stop containers gracefully, instead of outright killing them
2 лет назад
Slavi Pantaleev
593b3157b9
Fix systemd service Wants for mjolnir and draupnir
Patch contributed by JulianF.
2 лет назад
Catalan Lover
a717590aa5
Rename systemd service file from mjolnir to draupnir
3 лет назад
Catalan Lover
563cf1a4ba
Initial commit for draupnir.
main.yml is not included due to that its changed separately.
3 лет назад