mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-07-16 19:53:53 +03:00
Add CHANGELOG entry for the bridge variable renames
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,94 @@
|
||||
# 2026-07-16
|
||||
|
||||
## (Backward Compatibility Break) Bridge variables have been renamed
|
||||
|
||||
All bridge roles (`roles/custom/matrix-bridge-*`) now use a uniform variable naming scheme, where the variable prefix matches the role directory name. This adopts the naming policy proposed in [#4705](https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4705) and requested in [#5096](https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/5096).
|
||||
|
||||
Previously, bridge variable prefixes were all over the place (`matrix_mautrix_telegram_*`, `matrix_heisenbridge_*`, `matrix_steam_bridge_*`, etc.). Now, they all follow the same pattern that bot roles (`matrix_bot_<name>_*`) have been using for years: the `matrix-bridge-mautrix-telegram` role uses `matrix_bridge_mautrix_telegram_*` variables, the `matrix-bridge-steam` role uses `matrix_bridge_steam_*` variables, and so on.
|
||||
|
||||
Only Ansible variables were renamed. Systemd service names, container names, `/matrix/*` directories, database names and usernames, and appservice registration contents (tokens, bot usernames) all remain the same. No data migration is necessary and bridges keep working as before, once you rename the variables in your `vars.yml` configuration file.
|
||||
|
||||
The playbook will let you know if your configuration still uses old-style variable names.
|
||||
|
||||
Here is the full rename map:
|
||||
|
||||
| Old variable prefix | New variable prefix |
|
||||
|---------------------|---------------------|
|
||||
| `matrix_appservice_discord_` | `matrix_bridge_appservice_discord_` |
|
||||
| `matrix_appservice_irc_` | `matrix_bridge_appservice_irc_` |
|
||||
| `matrix_beeper_linkedin_` | `matrix_bridge_beeper_linkedin_` |
|
||||
| `matrix_heisenbridge_` | `matrix_bridge_heisenbridge_` |
|
||||
| `matrix_hookshot_` | `matrix_bridge_hookshot_` |
|
||||
| `matrix_mautrix_androidsms_` | `matrix_bridge_mautrix_wsproxy_androidsms_` |
|
||||
| `matrix_mautrix_bluesky_` | `matrix_bridge_mautrix_bluesky_` |
|
||||
| `matrix_mautrix_discord_` | `matrix_bridge_mautrix_discord_` |
|
||||
| `matrix_mautrix_gmessages_` | `matrix_bridge_mautrix_gmessages_` |
|
||||
| `matrix_mautrix_googlechat_` | `matrix_bridge_mautrix_googlechat_` |
|
||||
| `matrix_mautrix_gvoice_` | `matrix_bridge_mautrix_gvoice_` |
|
||||
| `matrix_mautrix_imessage_` | `matrix_bridge_mautrix_wsproxy_imessage_` |
|
||||
| `matrix_mautrix_meta_instagram_` | `matrix_bridge_mautrix_meta_instagram_` |
|
||||
| `matrix_mautrix_meta_messenger_` | `matrix_bridge_mautrix_meta_messenger_` |
|
||||
| `matrix_mautrix_signal_` | `matrix_bridge_mautrix_signal_` |
|
||||
| `matrix_mautrix_slack_` | `matrix_bridge_mautrix_slack_` |
|
||||
| `matrix_mautrix_telegram_` | `matrix_bridge_mautrix_telegram_` |
|
||||
| `matrix_mautrix_twitter_` | `matrix_bridge_mautrix_twitter_` |
|
||||
| `matrix_mautrix_whatsapp_` | `matrix_bridge_mautrix_whatsapp_` |
|
||||
| `matrix_mautrix_wsproxy_` | `matrix_bridge_mautrix_wsproxy_` |
|
||||
| `matrix_meshtastic_relay_` | `matrix_bridge_meshtastic_relay_` |
|
||||
| `matrix_mx_puppet_groupme_` | `matrix_bridge_mx_puppet_groupme_` |
|
||||
| `matrix_mx_puppet_steam_` | `matrix_bridge_mx_puppet_steam_` |
|
||||
| `matrix_postmoogle_` | `matrix_bridge_postmoogle_` |
|
||||
| `matrix_rustpush_bridge_` | `matrix_bridge_rustpush_` |
|
||||
| `matrix_sms_bridge_` | `matrix_bridge_sms_` |
|
||||
| `matrix_steam_bridge_` | `matrix_bridge_steam_` |
|
||||
| `matrix_wechat_` | `matrix_bridge_wechat_` |
|
||||
|
||||
A few special cases beyond the prefix map:
|
||||
|
||||
- `matrix_mautrix_signal_wsproxy_syncproxy_connection_string` (a variable of the mautrix-wsproxy role, despite its name) is now `matrix_bridge_mautrix_wsproxy_syncproxy_connection_string`
|
||||
- `matrix_playbook_migration_matrix_postmoogle_migration_validation_enabled` is now `matrix_playbook_migration_matrix_bridge_postmoogle_migration_validation_enabled`
|
||||
|
||||
You can update your `vars.yml` file automatically with this `sed` command (on macOS, use `sed -i ''` instead of `sed -i`):
|
||||
|
||||
```sh
|
||||
sed -i \
|
||||
-e 's/matrix_appservice_discord_/matrix_bridge_appservice_discord_/g' \
|
||||
-e 's/matrix_appservice_irc_/matrix_bridge_appservice_irc_/g' \
|
||||
-e 's/matrix_beeper_linkedin_/matrix_bridge_beeper_linkedin_/g' \
|
||||
-e 's/matrix_heisenbridge_/matrix_bridge_heisenbridge_/g' \
|
||||
-e 's/matrix_hookshot_/matrix_bridge_hookshot_/g' \
|
||||
-e 's/matrix_mautrix_androidsms_/matrix_bridge_mautrix_wsproxy_androidsms_/g' \
|
||||
-e 's/matrix_mautrix_bluesky_/matrix_bridge_mautrix_bluesky_/g' \
|
||||
-e 's/matrix_mautrix_discord_/matrix_bridge_mautrix_discord_/g' \
|
||||
-e 's/matrix_mautrix_gmessages_/matrix_bridge_mautrix_gmessages_/g' \
|
||||
-e 's/matrix_mautrix_googlechat_/matrix_bridge_mautrix_googlechat_/g' \
|
||||
-e 's/matrix_mautrix_gvoice_/matrix_bridge_mautrix_gvoice_/g' \
|
||||
-e 's/matrix_mautrix_imessage_/matrix_bridge_mautrix_wsproxy_imessage_/g' \
|
||||
-e 's/matrix_mautrix_meta_instagram_/matrix_bridge_mautrix_meta_instagram_/g' \
|
||||
-e 's/matrix_mautrix_meta_messenger_/matrix_bridge_mautrix_meta_messenger_/g' \
|
||||
-e 's/matrix_mautrix_signal_wsproxy_syncproxy_connection_string/matrix_bridge_mautrix_wsproxy_syncproxy_connection_string/g' \
|
||||
-e 's/matrix_mautrix_signal_/matrix_bridge_mautrix_signal_/g' \
|
||||
-e 's/matrix_mautrix_slack_/matrix_bridge_mautrix_slack_/g' \
|
||||
-e 's/matrix_mautrix_telegram_/matrix_bridge_mautrix_telegram_/g' \
|
||||
-e 's/matrix_mautrix_twitter_/matrix_bridge_mautrix_twitter_/g' \
|
||||
-e 's/matrix_mautrix_whatsapp_/matrix_bridge_mautrix_whatsapp_/g' \
|
||||
-e 's/matrix_mautrix_wsproxy_/matrix_bridge_mautrix_wsproxy_/g' \
|
||||
-e 's/matrix_meshtastic_relay_/matrix_bridge_meshtastic_relay_/g' \
|
||||
-e 's/matrix_mx_puppet_groupme_/matrix_bridge_mx_puppet_groupme_/g' \
|
||||
-e 's/matrix_mx_puppet_steam_/matrix_bridge_mx_puppet_steam_/g' \
|
||||
-e 's/matrix_postmoogle_/matrix_bridge_postmoogle_/g' \
|
||||
-e 's/matrix_rustpush_bridge_/matrix_bridge_rustpush_/g' \
|
||||
-e 's/matrix_sms_bridge_/matrix_bridge_sms_/g' \
|
||||
-e 's/matrix_steam_bridge_/matrix_bridge_steam_/g' \
|
||||
-e 's/matrix_wechat_/matrix_bridge_wechat_/g' \
|
||||
-e 's/matrix_playbook_migration_matrix_postmoogle_migration_validation_enabled/matrix_playbook_migration_matrix_bridge_postmoogle_migration_validation_enabled/g' \
|
||||
vars.yml
|
||||
```
|
||||
|
||||
The `sed` command only replaces prefixes followed by an underscore, so values that intentionally match old prefixes (like the default database names, e.g. `matrix_mautrix_telegram`) are not affected.
|
||||
|
||||
**Note**: if you have defined your own custom variables whose names embed an old prefix (e.g. `vault_matrix_postmoogle_password` referencing a secret in an Ansible Vault file), the `sed` command renames such references too. Either rename your custom variables to match (including their definitions in encrypted vault files, which `sed` cannot reach), or revert those spots manually.
|
||||
|
||||
# 2026-07-15
|
||||
|
||||
## Google Voice bridging
|
||||
|
||||
Reference in New Issue
Block a user