Slavi Pantaleev and Claude Opus 4.6
f0e0f5ec56
Rename _docker_ vars to _container_ across 34 roles
...
Roles affected: appservice-discord, appservice-irc, beeper-linkedin,
heisenbridge, hookshot, mautrix-bluesky, mautrix-discord,
mautrix-gmessages, mautrix-googlechat, mautrix-signal, mautrix-slack,
mautrix-twitter, mautrix-whatsapp, mautrix-wsproxy, mx-puppet-groupme,
mx-puppet-steam, postmoogle, sms, steam, cactus-comments, element,
fluffychat, schildichat, conduit, corporal, dendrite,
ldap-registration-proxy, media-repo, pantalaimon,
prometheus-nginxlog-exporter, registration, sygnal, synapse-admin,
user-verification-service.
For each role: renamed _docker_image* variables to _container_image*
(and _docker_src_files_path to _container_src_files_path where
applicable), added deprecation entries in validate_config.yml, and
updated group_vars/docs references.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-18 08:21:13 +02:00
QEDeD and Slavi Pantaleev
f0f496b6ba
Quote YAML mode values to satisfy octal lint rules
2026-02-16 13:19:10 +02:00
Slavi Pantaleev and Claude Opus 4.6
16010ff8c7
Add conditional restart support to client, bot, and bridge roles
...
For each of the 34 roles (3 clients, 9 bots, 22 bridges), this commit:
- Adds `_restart_necessary: false` default variable
- Adds `register:` directives to config/image/systemd tasks
- Computes `_restart_necessary` via set_fact (OR of all .changed results)
- Wires `(_restart_necessary | bool)` in group_vars/matrix_servers
This allows the systemd service manager to skip unnecessary restarts
when running install-* tags and nothing actually changed.
Service roles and complex multi-service roles will follow separately.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-13 15:33:54 +02:00
Slavi Pantaleev and Claude Opus 4.6
6da1223500
Rename _requires_restart to _migration_requires_restart across all custom roles
...
These variables track whether a database migration necessitates a service
restart. The new name avoids confusion with the conditional restart
feature introduced in af193043/9accc848/4a8df138, where
devture_systemd_service_manager handles restarting services whose
configuration or image changed. The old _requires_restart name was
ambiguous — it could be mistaken for the systemd_service_manager
mechanism — so _migration_requires_restart makes the purpose explicit.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-13 14:46:06 +02:00
renovate[bot] and Slavi Pantaleev
dfa38bec2c
chore(deps): update dock.mau.dev/mautrix/twitter docker tag to v0.2511.0
2025-11-16 15:09:30 +02:00
Benjamin Blacher and Slavi Pantaleev
d43f03bbca
Add support for bridge self signing
...
This also moves msc4190 to the correct section for twitter
2025-10-18 06:41:30 +03:00
Benjamin Blacher and Slavi Pantaleev
544d25e8c3
Fix Twitter displaynames
2025-10-18 06:40:51 +03:00
renovate[bot] and Slavi Pantaleev
ae7847719d
chore(deps): update dock.mau.dev/mautrix/twitter docker tag to v0.2510.0
2025-10-16 16:22:37 +03:00
Slavi Pantaleev
3daf14d695
Add Ansible variables to control the async_media settings in (mautrix) bridges
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4549
2025-09-06 08:03:36 +03:00
renovate[bot] and Slavi Pantaleev
dd3399aa44
Update dock.mau.dev/mautrix/twitter Docker tag to v0.5.0
2025-08-16 17:47:04 +03:00
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
2025-07-26 17:58:12 +03:00
Slavi Pantaleev
a1f6ee4dc9
Improve compatibility with ansible-core>=2.19.0 by not reaching into vars
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4445
2025-07-26 17:50:20 +03:00
renovate[bot] and Slavi Pantaleev
c6871d187f
Update dock.mau.dev/mautrix/twitter Docker tag to v0.4.3
2025-07-17 10:22:26 +03:00
Slavi Pantaleev
c399c6ff10
Extract mautrix-twitter's network.displayname_template configuration into a variable (matrix_mautrix_twitter_network_displayname_template)
2025-07-08 06:41:22 +03:00
renovate[bot] and Slavi Pantaleev
779eb0fc9a
Update dock.mau.dev/mautrix/twitter Docker tag to v0.4.2
2025-06-17 00:11:51 +03:00
renovate[bot] and Slavi Pantaleev
14d4a58583
Update dock.mau.dev/mautrix/twitter Docker tag to v0.4.1
2025-05-16 15:12:07 +03:00
Slavi Pantaleev
3ee7deb2d7
Rename variable (matrix_user_groupname -> matrix_group_name)
2025-04-29 10:39:41 +03:00
Slavi Pantaleev
9fc5cdab33
Rename variable (matrix_user_username -> matrix_user_name)
2025-04-29 10:39:41 +03:00
HarHarLinks and Slavi Pantaleev
8a4eb88f0d
fix yaml templating failing when bridge user displaynames contain emoji
...
Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com >
2025-04-25 17:00:00 +03:00
Onestacked and GitHub
5eb247b5bf
Add matrix_bridges_msc4190_enabled flag for using msc4190 on supported mautrix bridges. flag for using msc4190 on supported mautrix bridges. ( #4258 )
...
* Add matrix_bridges_msc4190_enabled flag for using msc4190 on supported mautrix bridges.
* Apply to_json to msc4190 in mautrix configs
* Add | to_json to mautrix bridge registration io.element.msc4190.
* require matrix_synapse_experimental_features_msc3202_device_masquerading_enabled for matrix_bridges_msc4190_enabled
* Also add msc4190 support for mautrix-telegram
2025-04-17 22:08:25 +03:00
renovate[bot] and Slavi Pantaleev
de10cb2239
Update dock.mau.dev/mautrix/twitter Docker tag to v0.4.0
2025-04-17 08:41:35 +03:00
renovate[bot] and Slavi Pantaleev
723f86dc9c
Update dock.mau.dev/mautrix/twitter Docker tag to v0.3.0
2025-03-17 07:05:16 +02:00
Suguru Hirahara
c18fc93a22
Update validate_config.yml files: edit the banner message for variables name
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-03-05 13:30:50 +09:00
Suguru Hirahara
6fd48fcf90
Add license information to files for matrix-bridge-mautrix-twitter
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-03-01 21:05:12 +09:00
Slavi Pantaleev
c47eca389b
Rework all roles to include component_(docker|container)_image_registry_prefix* variables
...
This:
- brings consistency - no more mixing `_name_prefix` and `_registry_prefix`
- adds extensibility - a future patch will allow reconfiguring all registry prefixes for all roles in the playbook
We still have `_docker_` vs `_container_` inconsistencies.
These may be worked on later.
2025-02-24 11:38:47 +02:00
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.
2025-02-22 21:42:18 +02:00
Suguru Hirahara
e4e34333da
Update files for some mautrix bridges: add the common section "Troubleshooting"
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-02-07 15:34:38 +09:00
renovate[bot] and GitHub
486c55dcab
Update dock.mau.dev/mautrix/twitter Docker tag to v0.2.1
2025-01-16 13:31:15 +00:00
Slavi Pantaleev
f8b779f8ed
Add trace as a valid logging level option for mautrix bridges
...
bridgev2 mautrix bridges use https://github.com/tulir/zeroconfig for
logging, which does support `trace` as a logging level.
2025-01-05 09:47:57 +02:00
Slavi Pantaleev
f5cc79bc88
Fix lint errors
2024-12-17 12:13:14 +02:00
Slavi Pantaleev
bf9bd1f5fb
Adapt mautrix-twitter to bridgev2 configuration
...
Fixup for 784a5aaef4 .
2024-12-17 12:09:30 +02:00
Aine
784a5aaef4
mautrix twitter v0.2.0
2024-12-17 10:43:23 +02: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 https://github.com/devture/com.devture.ansible.role.systemd_docker_base/commit/3cc7d1239654752da3e8f65760783a280a2b92f7
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:
- https://github.com/devture/com.devture.ansible.role.systemd_docker_base/commit/3cc7d1239654752da3e8f65760783a280a2b92f7
- 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
Slavi Pantaleev
08c602b19c
Add appservice-double-puppet double-puppeting support to mautrix-twitter
...
Shared Secret Auth double puppeting still works for this bridge, but
is deprecated and will go away in the future.
2024-08-17 21:11:28 +03:00
Aine and GitHub
7af6c74734
mautrix-twitter v0.1.8
2024-07-16 18:05:21 +03:00
Slavi Pantaleev
9f2eff2ac7
Respect devture_systemd_docker_base_docker_service_name
...
Related to https://github.com/devture/com.devture.ansible.role.systemd_docker_base/commit/0241c71a4c08ff5e203b55d50a424387e3b077c8
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
Slavi Pantaleev
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
gardar
23aee07cf4
feat: global option to configure all bridges encryption default
...
Signed-off-by: gardar <gardar@users.noreply.github.com >
2024-03-24 02:58:03 +00:00
Slavi Pantaleev
51df34e7ae
Ensure each container labels file defines at least one service
...
Most of these files were defining a service, usually toward the end.
These lines have been moved upward.
Some components (mautrix-signal, mautrix-gmessages, etc.) were defining
a service conditionally (only if metrics are exposed, etc). This was
causing issues like these in the Traefik logs:
> level=error msg="service \"matrix-mautrix-twitter\" error: port is missing" providerName=docker container=matrix-mautrix-twitter-..
2024-01-17 17:56:45 +02:00
Slavi Pantaleev
48a4afb114
Make Traefik labels files look better
...
This moves the comments from being just in Jinja,
to actually ending up in the generated `labels` file,
which makes inspection of the final result easier.
Also, some new lines were added here and there to make labels
more legible.
The generated file may still include weird new-lines due to
various `if` statements yielding content or not, but that's not so ugly
anymore - now that we have proper start/end sections that are visible in
the final `labels` file.
2024-01-15 10:41:15 +02:00
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.
2024-01-12 12:45:18 +02:00
Slavi Pantaleev
8b28f8e122
Move matrix-bridge-mautrix-twitter to its own container network and add native Traefik support
2024-01-07 17:54:46 +02:00
Slavi Pantaleev
7ec6fd3dfe
Make bridges/bots use matrix_addons_homeserver_client_api_url (instead of matrix_homeserver_container_url)
2024-01-07 17:04:23 +02:00
Slavi Pantaleev
abde681b56
Clean up some matrix_nginx_proxy_proxy_matrix_metrics_* references
2024-01-04 12:49:00 +02:00
Slavi Pantaleev
2511b34a7c
Stop containers gracefully, instead of outright killing them
2023-12-06 11:52:23 +02:00
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
2023-10-06 14:14:03 +02:00
Aine and GitHub
1ea4d3f13d
Update mautrix-twitter 0.1.6 -> 0.1.7
2023-09-19 22:03:12 +03:00
Aine and GitHub
86abe0680a
Update mautrix-twitter 0.1.5 -> 0.1.6
2023-05-22 18:01:02 +00:00
Aine and GitHub
7399496d33
one var to control encryption across all bridges ( #2629 )
...
* one var to control encryption across all bridges
* move var to matrix-base
2023-04-05 14:59:48 +03:00
Slavi Pantaleev
dddfee16bc
Fix all 300+ ansible-lint-reported errors
2023-03-07 17:28:15 +02:00