Slavi Pantaleev
7f1fa52dd3
Do not invoke `render_worker_upstream()` with an empty workers list
On ansible-core 2.19.0, invoking macro like this (which only outputted
something in its `if` block, not in `else`), resulted in a macro
outputting `None`.
One way to work around it is to add an explicit `else` block which also
outputs something.
A better way to work around it is to only invoke the macro if it
has something to output.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4458
пре 9 месеци
Slavi Pantaleev
d876da4186
Explicitly tell template-lookup to not auto-parse JSON files
ansible-core>=2.19.0 only auto-parses YAML files, not JSON.
Previous ansible-core versions auto-parsed JSON as well, but ansible-core>=2.19.0
doesn't, so we added a `from_json` post-filter.
However, older versions auto-parsing JSON and turning it into a dict, on
which we later run `from_json` is no good.
In this patch, we try to equalize behavior and configure Ansible to never parse JSON,
hopefully making old-Ansible behave like new Ansible.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4458
Ref: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/template_lookup.html#parameter-convert_data
пре 9 месеци
Slavi Pantaleev
4ef78bdb7f
Adjust default value for `matrix_synapse_admin_configuration_extension_json_auto` to match what we expect and how we use it
We expect a string, which is parsed via `from_json`.
This matches previous usage in inventories, as well as what the
user-controlled precedessor of this variable (`matrix_synapse_admin_configuration_extension_json`)
is like.
Related to 997e6ca611
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4459
пре 9 месеци
Aine
997e6ca611
fix synapse-admin for ansible-core>=2.19.0. Related to #4445
пре 9 месеци
Slavi Pantaleev
3a11a32f9e
Do not rely on ansible-core>=2.19.0 to process Jinja blocks inside strings found in other strings blocks
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4445
пре 9 месеци
Slavi Pantaleev
570c4121b7
Make sure remaining `when` dict keys do not refer to variables directly, but open a Jinja block
Most `when` dict keys already were done correctly, but these few weren't.
ansible-core 2.19.0 reported the following errors for them:
> [WARNING]: Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.
> [DEPRECATION WARNING]: The `bool` filter coerced invalid value 'variable_name' (str) to False. This feature will be removed from ansible-core version 2.23.
пре 9 месеци
Slavi Pantaleev
90813b3739
Pass the result of JSON-file template lookups through `from_json` for better ansible-core>=2.19.0 compatibility
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4445
It seems like ansible-core 2.19.0 no longer automatically parses template lookup content
as JSON (into a dict) when dealing with template files (be it `file.json.j2` or `file.j2`).
For files detected to contain YAML (`.ya?ml.j2`, but possibly others),
it automatically parses YAML, because the `convert_data` option
for the template lookup defaults to `true`.
Ref: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/template_lookup.html
пре 9 месеци
Slavi Pantaleev
f2524902af
Cast variables to string before running `length` on them when checking if a variable contains a value
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4445
пре 9 месеци
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
пре 9 месеци
Slavi Pantaleev
5651206e77
Fix indentation of `when` clause
Fixup for a1f6ee4dc9
пре 9 месеци
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
пре 9 месеци
Aine
16212150a3
Sygnal: rollback to v0.15.1, because v0.16.0's docker image is broken
пре 9 месеци
renovate[bot]
69184bc4a3
Update matrixdotorg/sygnal Docker tag to v0.16.0
пре 9 месеци
renovate[bot]
8be4927770
Update docker.io/metio/matrix-alertmanager-receiver Docker tag to v2025.7.23
пре 9 месеци
Aine
7261be5537
add matrix_synapse_ext_password_provider_ldap_tls_options_validate var
пре 9 месеци
renovate[bot]
7eff95f38d
Update joseluisq/static-web-server Docker tag to v2.38.0
пре 9 месеци
renovate[bot]
abc74a6b96
Update dock.mau.dev/mautrix/whatsapp Docker tag to v0.12.3
пре 9 месеци
renovate[bot]
c6871d187f
Update dock.mau.dev/mautrix/twitter Docker tag to v0.4.3
пре 9 месеци
renovate[bot]
7cf0fe52d4
Update dock.mau.dev/mautrix/telegram Docker tag to v0.15.3
пре 9 месеци
renovate[bot]
70686595d5
Update dock.mau.dev/mautrix/slack Docker tag to v0.2.2
пре 9 месеци
renovate[bot]
2ad2fd8b57
Update dock.mau.dev/mautrix/signal Docker tag to v0.8.5
пре 9 месеци
renovate[bot]
eb067b7536
Update dock.mau.dev/mautrix/discord Docker tag to v0.7.5
пре 9 месеци
renovate[bot]
c1d5d38cf6
Update dock.mau.dev/mautrix/bluesky Docker tag to v0.1.2
пре 9 месеци
renovate[bot]
b5af7f7a32
Update dock.mau.dev/mautrix/meta Docker tag to v0.5.2
пре 9 месеци
renovate[bot]
a04a72d4e5
Update dock.mau.dev/mautrix/gmessages Docker tag to v0.6.4
пре 9 месеци
renovate[bot]
b8029111c9
Update ghcr.io/element-hq/element-web Docker tag to v1.11.106
пре 9 месеци
renovate[bot]
6a98f47f73
Update ghcr.io/element-hq/matrix-authentication-service Docker tag to v0.19.0
пре 9 месеци
renovate[bot]
8ecee76f62
Update ghcr.io/element-hq/synapse Docker tag to v1.134.0
пре 9 месеци
Aine
f3a819c5f1
Synapse Admin v0.11.1-etke45
пре 9 месеци
Slavi Pantaleev
9e205d50ac
Upgrade baibot (v1.7.5 -> v1.7.6)
пре 9 месеци
Slavi Pantaleev
fb0ccc391e
Make FluffyChat container HTTP port configurable
This makes it possible to switch out the container image with one that
uses a port other than 8080.
пре 9 месеци
renovate[bot]
2d1b1cfdde
Update gnuxie/draupnir Docker tag to v2.5.0
пре 9 месеци
Slavi Pantaleev
c399c6ff10
Extract mautrix-twitter's `network.displayname_template` configuration into a variable (`matrix_mautrix_twitter_network_displayname_template`)
пре 9 месеци
Slavi Pantaleev
9e31a254d8
Extract mautrix-slack's `network.displayname_template` configuration into a variable (`matrix_mautrix_slack_network_displayname_template`)
пре 9 месеци
Slavi Pantaleev
1ccb6c822a
Extract mautrix-bluesky's `network.displayname_template` configuration into a variable (`matrix_mautrix_bluesky_network_displayname_template`)
пре 9 месеци
Slavi Pantaleev
1813c856e6
Extract mautrix-signal's `network.displayname_template` configuration into a variable (`matrix_mautrix_signal_network_displayname_template`)
пре 9 месеци
Slavi Pantaleev
f4306be183
Extract mautrix-whatsapp's `network.displayname_template` configuration into a variable (`matrix_mautrix_whatsapp_network_displayname_template`)
пре 9 месеци
renovate[bot]
78a3bf42f3
Update matrixconduit/matrix-conduit Docker tag to v0.10.6
пре 9 месеци
Virkkunen
f08bc17273
add validation for changed continuwuity variable names
пре 9 месеци
Virkkunen
3997244190
capitalise CONTINUWUITY
пре 9 месеци
Virkkunen
c04dfe2384
add missing _config_ to some variable names
пре 10 месеци
Virkkunen
d1796978ca
add matrix_continuwuity_config_suspend_on_register
пре 10 месеци
Virkkunen
1b2b6ddaa3
add more defederation variables
пре 10 месеци
Virkkunen
e813309311
fix spelling
пре 10 месеци
Virkkunen
8eb5bbf2c1
add missing comments on main.yml settings
пре 10 месеци
Virkkunen
4632628b74
move main.yml variables
пре 10 месеци
Virkkunen
bdec7c646d
update continuwuity.toml
пре 10 месеци
Slavi Pantaleev
25498851a0
Add some relay-related variables to mautrix-slack role
пре 10 месеци
Virkkunen
613f685f54
add matrix_continuwuity_url_preview_domain_contains_allowlist variable
пре 10 месеци
renovate[bot]
5987bc5b5e
Update ghcr.io/element-hq/element-call Docker tag to v0.13.1
пре 10 месеци