Slavi Pantaleev and Claude Opus 4.7
c578b08183
matrix-bridge-mautrix-discord: switch to modern community.docker docker_image modules
...
Replaces `community.docker.docker_image` with the modern
`docker_image_pull` and `docker_image_build` split modules. Drops the
`ansible_version` compatibility ladder and the now-redundant
`_container_image_force_pull` variable (the new pull module handles
registry refresh natively via `pull: always`). Also registers
`_container_image_build_result` so that a self-build rebuild correctly
triggers a service restart.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/5191 .
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-04 21:44:27 +03:00
Matěj Cepl and Slavi Pantaleev
e0bc2be687
Clean up ansible-lint warnings in defaults/main.yml files ( #5148 )
...
Reformat `{{ { ... }[engine] }}` dict-in-Jinja-expressions across
bot/bridge role defaults for consistent indentation (tabs -> spaces).
Also: fix a missing space in a Jinja `+` expression in matrix-static-files,
and fix indentation in the caddy2-in-container example.
The original PR also renamed `galaxy/<role>` role references to just
`<role>` in setup.yml and jitsi_jvb.yml; those were dropped here because
Ansible does not recurse into subdirectories of `roles/` by default and
no `roles_path` is configured in ansible.cfg, so the rename would break
role resolution.
Co-Authored-By: Slavi Pantaleev <slavi@devture.com >
2026-04-24 09:01:47 +03:00
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
renovate[bot] and Slavi Pantaleev
1d0bbce4cf
chore(deps): update dock.mau.dev/mautrix/discord docker tag to v0.7.6
2026-02-16 21:29:20 +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
Benjamin Blacher and Slavi Pantaleev
ec3f25e8ad
Add (Discord) to discord displaynames
2025-10-14 18:40:40 +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
eb067b7536
Update dock.mau.dev/mautrix/discord Docker tag to v0.7.5
2025-07-17 06:29:47 +03:00
Benjamin Blacher and Slavi Pantaleev
15ed07d970
Update mautrix-discord, add support for msc4190
2025-06-16 22:59:55 +03:00
Slavi Pantaleev
98e4f369b7
Add receive_ephemeral everywhere de.sorunome.msc2409.push_ephemeral is used
...
Matrix CI / yamllint (push) Waiting to run
Matrix CI / ansible-lint (push) Waiting to run
REUSE Compliance Check / reuse-compliance-check (push) Waiting to run
Ref:
- https://github.com/mautrix/go/blob/33f3ccd6aef0a3ef3a37fefead208c6249169142/CHANGELOG.md#L134-L136
- https://github.com/mautrix/go/blob/7165d3fa583444352ea770b5c003c93a7fc6989c/appservice/registration.go#L30
Intentionally not removing the old configuration setting yet, as some bridges may/do not support
the new setting name. It's likely just bridgev2 mautrix bridges that have been updated and support both right now.
2025-04-25 17:13:38 +03:00
renovate[bot] and Slavi Pantaleev
1317e5632a
Update dock.mau.dev/mautrix/discord Docker tag to v0.7.3
2025-04-16 16:08:52 +03:00
Suguru Hirahara
f6b74f9d30
Add license information to files for matrix-bridge-mautrix-discord
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-03-01 16:04:15 +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
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
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
cea437c844
Expose mautrix-discord's avatar proxy
...
Possibly fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3900
This patch hasn't been tested.
2024-12-23 08:36:18 +02:00
Slavi Pantaleev
f1c238e732
Update mautrix-discord config to latest upstream sample and introduce a few new Ansible variables
...
Provoked by https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3900
2024-12-23 08:20:56 +02:00
Slavi Pantaleev
beeb8a7933
Remove some "generate" values from various mautrix bridges
...
We do not let bridges update config files, so generation cannot happen.
We don't want the bridge to manage the config file anyway.
2024-12-17 12:00:39 +02:00
renovate[bot] and GitHub
743417c6f1
chore(deps): update dock.mau.dev/mautrix/discord docker tag to v0.7.2
2024-12-16 21:34:39 +00:00
Slavi Pantaleev
34d1586f25
Actually make use of the matrix_mautrix_discord_bridge_double_puppet_server_map variable
2024-12-02 19:26:08 +02:00
renovate[bot] and GitHub
9a1e08b2f0
Update dock.mau.dev/mautrix/discord Docker tag to v0.7.1
2024-11-16 16:33:50 +00:00
Suguru Hirahara
a4bfb9611e
Fix capitalization: conduit -> Conduit
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-12 20:12:48 +09:00
Slavi Pantaleev
77c59aaea0
Add appservice-double-puppet double-puppeting support to mautrix-discord
...
Shared Secret Auth double puppeting still works for this bridge, but
is deprecated and will go away in the future.
2024-08-17 19:31:04 +03:00
renovate[bot] and GitHub
e8181b92ad
chore(deps): update dock.mau.dev/mautrix/discord docker tag to v0.7.0
2024-07-16 15:13:15 +00: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
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
renovate[bot] and GitHub
f6c636b5e2
Update dock.mau.dev/mautrix/discord Docker tag to v0.6.5
2024-01-16 21:36:01 +00:00
Slavi Pantaleev
30d82cc651
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-08 18:18:34 +02:00
Slavi Pantaleev
b6916d3adc
Add public_address to mautrix-discord
...
Related to https://github.com/mautrix/discord/issues/95
2024-01-08 18:16:02 +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
20c7cabfe4
Switch mautrix-discord from matrix-nginx-proxy to matrix-homeserver-proxy
2024-01-02 17:22:23 +02:00
Aine
95c2db3bb3
mautrix: allow relay access by default, closes #3014
2023-11-29 13:32:14 +02:00
renovate[bot] and GitHub
87bc059065
Update dock.mau.dev/mautrix/discord Docker tag to v0.6.4
2023-11-17 01:23:28 +00:00
Slavi Pantaleev and GitHub
ec3b204541
Merge branch 'master' into renovate-config
2023-10-16 18:15:53 +03:00
Aine and GitHub
7ba5dee782
Update mautrix-discord 0.6.2 -> 0.6.3
2023-10-16 14:45:15 +03:00
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
2023-10-06 14:14:03 +02:00
Slavi Pantaleev
be94568524
Upgrade mautrix-discord (0.6.1 -> 0.6.2)
2023-09-16 19:50:36 +03:00
Slavi Pantaleev
6427397486
Do not hardcode sslmode=disable to Postgres connection strings - make it configurable
...
This is backward-compatible with what we had before. We're not changing
the SSL mode - just making it configurable.
Most components are defaulting to `sslmode=disable`, while some
(`matrix-bot-matrix-reminder-bot` and others) do not specify an `sslmode` at all.
We're making sslmode configurable, because certain external Postgres
servers may be configured to require SSL encryption.
In such cases `sslmode=disable` does not work and needs to be changed to
`sslmode=require` or something else (`verify-ca`, `verify-full`, etc).
2023-08-22 19:40:50 +03:00
Slavi Pantaleev
c9a549b1f5
Upgrade mautrix-discord (0.6.0 -> 0.6.1)
2023-08-17 10:39:49 +03:00
Aine and GitHub
ccc99d6c73
Update mautrix-discord 0.5.0 -> 0.6.0
2023-07-16 14:12:11 +03:00
Aine and GitHub
bbe11f2612
Update mautrix-discord 0.4.0 -> 0.5.0
2023-06-16 16:11:06 +03:00
Aine and GitHub
3b28e29b8e
update mautrix-discord 0.3.0 -> 0.4.0
2023-05-16 19:47:10 +00:00
Aine and GitHub
f5f158f221
Update mautrix-discord 0.2.0 -> 0.3.0
2023-04-16 22:22:30 +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
Aine and GitHub
281bad125d
Update mautrix-discord 0.1.1 -> 0.2.0
2023-03-17 20:01:57 +00:00
Aine and GitHub
649f6512ca
Update mautrix-discord 0.1.0 -> 0.1.1
2023-02-16 18:02:25 +00:00
Aine and GitHub
111303208a
Update mautrix-discord latest -> 0.1.0
2023-01-29 18:11:33 +00:00
Samuel Meenzen
0179b0f165
Remove conduit workaround
...
Conduit update 0.5.0 fixed the issue, so this is no longer needed.
2022-12-21 18:28:34 +01:00
Slavi Pantaleev
7b43ef34b7
Remove more hardcoded matrix-postgres references
2022-11-27 09:16:18 +02:00
Slavi Pantaleev
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