42694883e6
Update files for Mjolnir: add the common section "Troubleshooting"
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-02-01 02:47:17 +09:00
4d6ee3db7e
Update matrixdotorg/mjolnir Docker tag to v1.9.2
2025-01-21 21:34:42 +00:00
a691b20cf2
Update Mjolnir from 1.9.0 to 1.9.1
2024-12-17 22:56:30 +01:00
e5a03ec273
chore(deps): update matrixdotorg/mjolnir docker tag to v1.9.0
2024-12-09 18:52:33 +00:00
159daa7466
Use a room alias on Matrix Specification
...
"#matrix:example.org" is used as an example of a room alias on https://spec.matrix.org/v1.12/#room-aliases
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-21 22:00:32 +09:00
0593edbb1a
Replace !example:example.org and !example:example.com with !qporfwt:example.com
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-21 21:48:09 +09:00
55fcaac1f1
Fix capitalization: matrix → Matrix
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-18 23:35:10 +09:00
0fe2b06ce4
Update matrixdotorg/mjolnir Docker tag to v1.8.3 ( #3570 )
...
* Update matrixdotorg/mjolnir Docker tag to v1.8.1
* Upgrade Mjolnir to v1.8.3
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Slavi Pantaleev <slavi@devture.com >
2024-10-03 23:16:03 +03:00
e253903283
Revert Mjolnir version to 1.7.0 due to severe breakage.
2024-10-03 19:01:51 +02:00
4243957825
Update matrixdotorg/mjolnir Docker tag to v1.8.1
2024-10-02 18:46:05 +00:00
c6da799a52
Update matrixdotorg/mjolnir Docker tag to v1.8.0
2024-10-02 01:33:07 +00:00
c89c356e53
Add a global config option for Docker network MTU ( #3502 )
...
* Add a global config option for Docker network MTU
* Upgrade systemd_docker_base (v1.2.0-0 -> v1.3.0-0)
The new version includes `devture_systemd_docker_base_container_networks_driver_options`
due to 3cc7d12396
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3502
* Switch from passing matrix_playbook_docker_network_mtu to respecting devture_systemd_docker_base_container_networks_driver_options
Related to:
- 3cc7d12396
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3502
* Update all roles to versions that respect `devture_systemd_docker_base_container_networks_driver_options`
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com >
2024-09-18 16:20:27 +03:00
9ac29e7055
Update matrixdotorg/mjolnir Docker tag to v1.7.0
2024-09-12 18:34:27 +00:00
9f2eff2ac7
Respect devture_systemd_docker_base_docker_service_name
...
Related to 0241c71a4c
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3270#issuecomment-2143782962
With this change, it should be possible for people to adjust the Docker
dependency from `docker.service` to something else (e.g. `pkg-ContainerManager-dockerd.service`),
or to completely eliminate it by setting `devture_systemd_docker_base_docker_service_name` to an empty string.
This makes it easier for people to use the playbook against a Synology DSM server.
2024-06-04 13:14:34 +03:00
3b7468787f
Improve Pantalaimon Support in Draupnir and add Mjolnir support
2024-03-24 21:55:21 +01:00
3758b0cfeb
Squashed commit of the following:
...
commit cf8637efaca0a0be3609fd6add0dff893a0a9194
Author: Slavi Pantaleev <slavi@devture.com >
Date: Sun Mar 24 19:14:57 2024 +0200
Make devture_systemd_docker_base_ipv6_enabled automatically reconfigure geerlingguy/ansible-role-docker
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3218
commit dc7af3bc7d25f321bf409477d823e43ea8a05803
Author: Slavi Pantaleev <slavi@devture.com >
Date: Sun Mar 24 19:10:31 2024 +0200
Replace matrix_ipv6_enabled with devture_systemd_docker_base_ipv6_enabled
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3218
commit 07e900d6a2
Author: Slavi Pantaleev <slavi@devture.com >
Date: Sun Mar 24 19:01:51 2024 +0200
Improve matrix_ipv6_enabled comments
commit 3f03ca7f69
Author: Tilo Spannagel <development@tilosp.de >
Date: Sat Mar 9 19:27:50 2024 +0000
Add setting to enable ipv6
2024-03-24 19:15:43 +02:00
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.
2024-01-24 15:26:05 +01:00
5c66485c99
Ensure matrix-bot-mjolnir container network is created
...
Most addons live in the same network by default (matrix-addons) right now,
so this network would have usually been created by some other addon.
Howevre, if this is the only addon someone uses, it may have remained
uncreated causing a problem.
2024-01-20 15:42:12 +02:00
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.
2024-01-12 12:45:18 +02:00
867af6385a
Move matrix-bot-mjolnir to its own container network
2024-01-07 09:20:24 +02:00
2511b34a7c
Stop containers gracefully, instead of outright killing them
2023-12-06 11:52:23 +02:00
be70430290
Update matrixdotorg/mjolnir Docker tag to v1.6.5
2023-11-15 00:24:51 +00:00
c846ed199b
Annotate version numbers with renovate metadata
2023-10-06 14:14:03 +02:00
593b3157b9
Fix systemd service Wants for mjolnir and draupnir
...
Patch contributed by JulianF.
2023-10-03 15:05:30 +03:00
dddfee16bc
Fix all 300+ ansible-lint-reported errors
2023-03-07 17:28:15 +02:00
17438bd0dd
Upgrade mjolnir (v1.6.3 -> v1.6.4)
2023-01-11 19:24:35 +02:00
0c472c172e
Upgrade mjolnir (v1.6.1 -> v1.6.3)
2023-01-11 13:51:35 +02:00
5e30f6d4c4
Update Mjolnir from 1.5.0 to 1.6.1
...
Please note that This Mjolnir version bump technnically is missing some extra stuff that mjolnir claims we should do but it didnt work when i tried it and well my mjolnir deployment has been running this since release day almost and its fine. No errors in log that are unexpected. (Mjolnir throws errors in the log for anyone who wonders for various things that are fine. Like if a protection is off that is an error. Its due to how matrix-bot-lib works.)
2022-12-19 15:33:58 +01:00
2688e8bfc3
Optimize initial installation by not reloading systemd after each .service install
...
We expect `--tags=start` to handle systemd reloading, so we don't need
to do it manually each time we install/uninstall a .service file.
2022-11-27 10:02:45 +02:00
a04f6f4e3d
Optimize uninstall tasks a bit
...
- forego removing Docker images - it's not effective anyway, because it
only removes the last version.. which is a drop in the bucket, usually
- do not reload systemd - it's none of our business. `--tags=start`,
etc., handle this
- combine all uninstall tasks under a single block, which only runs if
we detect traces (a leftover systemd .service file) of the component.
If no such .service is detected, we skip them all. This may lead to
incorect cleanup in rare cases, but is good enough for the most part.
2022-11-25 17:28:57 +02:00
61f67d8f0a
Add install-* tags for quicker runs
2022-11-25 16:02:51 +02:00
7c2a7a8eb6
Replace most import_tasks calls with include_tasks for improved performance
2022-11-24 11:33:45 +02:00
0ea7cb5d18
Remove various init.yml files - initialize systemd services, etc., statically (not at runtime)
2022-11-23 11:45:46 +02:00
d3bd1ca024
matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay}
2022-11-04 16:44:29 +02:00
7086c0ebe3
matrix_host_command_sh -> devture_systemd_docker_base_host_command_sh (via com.devture.ansible.role.systemd_docker_base)
2022-11-04 16:40:25 +02:00
a9a81460ec
matrix_host_command_docker -> devture_systemd_docker_base_host_command_docker (via com.devture.ansible.role.systemd_docker_base)
2022-11-04 16:39:35 +02:00
835d2e9581
matrix_systemd_path -> devture_systemd_docker_base_systemd_path (via com.devture.ansible.role.systemd_docker_base)
2022-11-04 16:38:38 +02:00
f03f716989
matrix_systemd_unit_home_path -> devture_systemd_docker_base_systemd_unit_home_path (via com.devture.ansible.role.systemd_docker_base)
2022-11-04 16:37:47 +02:00
410a915a8a
Move roles/matrix* to roles/custom/matrix*
...
This paves the way for installing other roles into `roles/galaxy` using `ansible-galaxy`,
similar to how it's done in:
- https://github.com/spantaleev/gitea-docker-ansible-deploy
- https://github.com/spantaleev/nextcloud-docker-ansible-deploy
In the near future, we'll be removing a lot of the shared role code from here
and using upstream roles for it. Some of the core `matrix-*` roles have
already been extracted out into other reusable roles:
- https://github.com/devture/com.devture.ansible.role.postgres
- https://github.com/devture/com.devture.ansible.role.systemd_docker_base
- https://github.com/devture/com.devture.ansible.role.timesync
- https://github.com/devture/com.devture.ansible.role.vars_preserver
- https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages
- https://github.com/devture/com.devture.ansible.role.playbook_help
We just need to migrate to those.
2022-11-03 09:11:29 +02:00