1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2025-08-04 21:43:06 +02:00
Commit Graph

10253 Commits

Author SHA1 Message Date
0728f9ca36 Upgrade playbook_help (201c939eed363de269a83ba29784fc3244846048 -> 7663e3114513e56f28d3ed762059b445c678a71a) 2025-07-30 06:37:44 +03:00
c1f9032f04 Update ansible/ansible-lint action to v25.7.0 2025-07-30 06:16:38 +03:00
abbcb0bc22 Update dependency docutils to v0.22 2025-07-30 06:16:23 +03:00
11028761a1 Update ghcr.io/element-hq/element-web Docker tag to v1.11.107 2025-07-29 16:39:29 +03:00
24d6d4b94b fix indentation in ma1sd validate_config 2025-07-29 16:35:17 +03:00
350cd2031a Update ghcr.io/element-hq/matrix-authentication-service Docker tag to v0.20.0 2025-07-29 15:04:04 +03:00
95f239c4a6 Upgrade Etherpad (v2.3.2-4 -> v2.3.2-5) to restore compatibility with older Ansible (<=2.19.0) 2025-07-28 07:12:29 +03:00
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
2025-07-27 09:21:12 +03:00
9d31b44040 Make matrix-static-files not reference other matrix_authentication_service_* variables if MAS is not enabled 2025-07-27 08:22:42 +03:00
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
2025-07-27 07:45:58 +03:00
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
2025-07-27 07:36:21 +03:00
c085b540f2 fix etherpad postgres wiring 2025-07-26 23:51:38 +01:00
9d98c5056e update etherpad role 2025-07-26 23:36:57 +01:00
da9b82439b fix etherpad (ansible>=2.19.0) 2025-07-26 23:30:50 +01:00
997e6ca611 fix synapse-admin for ansible-core>=2.19.0. Related to #4445 2025-07-26 22:44:55 +01:00
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
2025-07-26 19:09:11 +03:00
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.
2025-07-26 18:53:11 +03:00
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
2025-07-26 18:53:11 +03:00
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
2025-07-26 18:13:07 +03:00
2ee0826079 Upgrade backup-borg (v1.4.1-1.9.14-0 -> v1.4.1-1.9.14-1) 2025-07-26 17:59:50 +03:00
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
5651206e77 Fix indentation of when clause
Fixup for a1f6ee4dc9
2025-07-26 17:57:24 +03:00
a09760492b Update various roles to versions that offer better compatibility with ansible-core>=2.19.0
Ref: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4445
2025-07-26 17:52:43 +03:00
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
6da6b466da Update dependency exim_relay to v4.98.1-r0-2-1 2025-07-26 17:28:54 +03:00
c7989af64f Update dependency etherpad to v2.3.2-2 2025-07-26 17:28:32 +03:00
28870d2867 Update dependency etherpad to v2.3.2-1 2025-07-26 12:36:37 +03:00
8c89f577ad Update dependency container_socket_proxy to v0.3.0-7 2025-07-26 12:36:11 +03:00
e2cb95f145 Update dependency postgres to v17.5-1 2025-07-26 09:15:37 +03:00
d4d293f9a4 Update dependency traefik to v3.5.0-1 2025-07-26 09:15:07 +03:00
d70bccbda4 Upgrade Jitsi (v10314-1 -> v10431-0) 2025-07-26 05:32:40 +03:00
16212150a3 Sygnal: rollback to v0.15.1, because v0.16.0's docker image is broken 2025-07-24 16:47:36 +01:00
69184bc4a3 Update matrixdotorg/sygnal Docker tag to v0.16.0 2025-07-24 12:39:35 +03:00
514a947386 Update dependency traefik to v3.5.0-0 2025-07-24 08:20:06 +03:00
8ab525d609 Update dependency grafana to v11.6.4-0 2025-07-24 08:19:47 +03:00
8be4927770 Update docker.io/metio/matrix-alertmanager-receiver Docker tag to v2025.7.23 2025-07-23 14:20:11 +03:00
7261be5537 add matrix_synapse_ext_password_provider_ldap_tls_options_validate var 2025-07-23 08:46:08 +01:00
7eff95f38d Update joseluisq/static-web-server Docker tag to v2.38.0 2025-07-22 09:04:44 +03:00
abc74a6b96 Update dock.mau.dev/mautrix/whatsapp Docker tag to v0.12.3 2025-07-17 10:22:32 +03:00
c6871d187f Update dock.mau.dev/mautrix/twitter Docker tag to v0.4.3 2025-07-17 10:22:26 +03:00
7cf0fe52d4 Update dock.mau.dev/mautrix/telegram Docker tag to v0.15.3 2025-07-17 10:16:48 +03:00
70686595d5 Update dock.mau.dev/mautrix/slack Docker tag to v0.2.2 2025-07-17 10:16:41 +03:00
2ad2fd8b57 Update dock.mau.dev/mautrix/signal Docker tag to v0.8.5 2025-07-17 06:44:09 +03:00
eb067b7536 Update dock.mau.dev/mautrix/discord Docker tag to v0.7.5 2025-07-17 06:29:47 +03:00
c1d5d38cf6 Update dock.mau.dev/mautrix/bluesky Docker tag to v0.1.2 2025-07-17 06:29:39 +03:00
b5af7f7a32 Update dock.mau.dev/mautrix/meta Docker tag to v0.5.2 2025-07-17 06:29:29 +03:00
a04a72d4e5 Update dock.mau.dev/mautrix/gmessages Docker tag to v0.6.4 2025-07-17 06:29:23 +03:00
b8029111c9 Update ghcr.io/element-hq/element-web Docker tag to v1.11.106 2025-07-16 06:35:42 +03:00
6a98f47f73 Update ghcr.io/element-hq/matrix-authentication-service Docker tag to v0.19.0 2025-07-15 18:41:12 +03:00
8ecee76f62 Update ghcr.io/element-hq/synapse Docker tag to v1.134.0 2025-07-15 18:41:03 +03:00