Kevin Veen-Birkenbach
bf28208f3f
feat: support container_network=host across all roles + systemd templates
Mirror the pattern Slavi introduced for matrix-coturn (aafa8f0 ) across the
fork: every 'Ensure X container network is created' task gets a
'when: <var> not in ["", "host"]' guard so MDAD does not try to
docker_network create a network literally named 'host' (returns 403,
since host is a pre-defined Docker network).
Mirror the same guard in every systemd unit template that does
'ExecStartPre=docker network connect <addnet> <container>' loops over
matrix_<role>_container_additional_networks: skip the connects when the
container is on host networking (where additional --network attaches
are invalid).
Unblocks DiD setups where MDAD-managed containers share their host's
network namespace (matrix-mdad outer compose service joined to central
postgres/openldap networks) to reach external services on the outer
Docker daemon.
пре 1 недеља
renovate[bot]
f92c5fee18
Update ghcr.io/element-hq/element-web Docker tag to v1.12.20
пре 2 недеља
renovate[bot]
a5ebb77eeb
Update ghcr.io/element-hq/element-web Docker tag to v1.12.19
пре 2 недеља
renovate[bot]
6f116ed4d6
Update ghcr.io/element-hq/element-web Docker tag to v1.12.18 ( #5223 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
пре 1 месец
Slavi Pantaleev
b6831fbd54
matrix-client-element: switch to modern community.docker docker_image modules
Replaces `community.docker.docker_image` with the modern
`docker_image_pull` module. 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`).
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/5191 .
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
пре 1 месец
renovate[bot]
889df54fff
Update ghcr.io/element-hq/element-web Docker tag to v1.12.17
пре 1 месец
renovate[bot]
61e4a47a2d
Update ghcr.io/element-hq/element-web Docker tag to v1.12.16
пре 1 месец
renovate[bot]
8b06a36ac7
chore(deps): update ghcr.io/element-hq/element-web docker tag to v1.12.15
пре 2 месеци
renovate[bot]
17eb1615de
chore(deps): update ghcr.io/element-hq/element-web docker tag to v1.12.14
пре 2 месеци
renovate[bot]
7c5a729c18
chore(deps): update ghcr.io/element-hq/element-web docker tag to v1.12.13
пре 2 месеци
Slavi Pantaleev
b942715469
fix(self-check): respect path_prefix in web client self-check URLs
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/5051
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
пре 2 месеци
renovate[bot]
94beb79279
chore(deps): update ghcr.io/element-hq/element-web docker tag to v1.12.12
пре 3 месеци
tripleawwy
58bf4fe34b
fix: conditionally include m.identity_server in Element Web config.json
When no identity server is configured, `matrix_client_element_default_is_url`
defaults to `~` (YAML null). The `| string | to_json` filter chain converts
this to the literal string `"None"`, causing Element Web to log errors:
- TypeError: URL constructor: None is not a valid URL
- Invalid base_url for m.identity_server
The well-known template (`.well-known/matrix/client.j2`) already handles
this correctly with a conditional guard (see PR #314 ). This applies the
same pattern to the Element Web `config.json.j2` template.
пре 3 месеци
renovate[bot]
93c6587b9d
chore(deps): update ghcr.io/element-hq/element-web docker tag to v1.12.11
пре 3 месеци
Slavi Pantaleev
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>
пре 3 месеци
QEDeD
f0f496b6ba
Quote YAML mode values to satisfy octal lint rules
пре 3 месеци
Slavi Pantaleev
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>
пре 4 месеци
renovate[bot]
0a08126324
chore(deps): update ghcr.io/element-hq/element-web docker tag to v1.12.10
пре 4 месеци
Suguru Hirahara
66d66f67f8
Remove obsolete X-Frame-Options
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
пре 4 месеци
renovate[bot]
8a3c75b7bd
chore(deps): update ghcr.io/element-hq/element-web docker tag to v1.12.9
пре 4 месеци
renovate[bot]
b5c5f34ca4
chore(deps): update ghcr.io/element-hq/element-web docker tag to v1.12.8
пре 5 месеци
renovate[bot]
6d202a30fc
chore(deps): update ghcr.io/element-hq/element-web docker tag to v1.12.7
пре 5 месеци
renovate[bot]
717c9bfd7d
chore(deps): update ghcr.io/element-hq/element-web docker tag to v1.12.6
пре 6 месеци
renovate[bot]
1838840f65
chore(deps): update ghcr.io/element-hq/element-web docker tag to v1.12.5
пре 6 месеци
Slavi Pantaleev
ddf0fe7167
Fix Ansible `inject_facts_as_vars` deprecation warning
пре 6 месеци
renovate[bot]
9582f6a565
chore(deps): update ghcr.io/element-hq/element-web docker tag to v1.12.4
пре 6 месеци
renovate[bot]
fba4ee598a
chore(deps): update ghcr.io/element-hq/element-web docker tag to v1.12.3
пре 7 месеци
renovate[bot]
df6df6cbad
chore(deps): update ghcr.io/element-hq/element-web docker tag to v1.12.2
пре 7 месеци
renovate[bot]
951b27ed7f
chore(deps): update ghcr.io/element-hq/element-web docker tag to v1.12.1
пре 8 месеци
renovate[bot]
6e5cf9f3be
chore(deps): update ghcr.io/element-hq/element-web docker tag to v1.12.0
пре 8 месеци
Aine
38b40242c4
element web v1.11.112
пре 9 месеци
renovate[bot]
840ad0171f
Update ghcr.io/element-hq/element-web Docker tag to v1.11.111
пре 9 месеци
renovate[bot]
6e89e181ec
Update ghcr.io/element-hq/element-web Docker tag to v1.11.110
пре 9 месеци
Aine
06ab77fdcc
add element web mobile guide app variant config option
пре 9 месеци
renovate[bot]
d3fcd7a97a
Update ghcr.io/element-hq/element-web Docker tag to v1.11.109
пре 10 месеци
renovate[bot]
d2419fccf3
Update ghcr.io/element-hq/element-web Docker tag to v1.11.108
пре 10 месеци
renovate[bot]
11028761a1
Update ghcr.io/element-hq/element-web Docker tag to v1.11.107
пре 10 месеци
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
пре 10 месеци
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
пре 10 месеци
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
пре 10 месеци
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
пре 10 месеци
renovate[bot]
b8029111c9
Update ghcr.io/element-hq/element-web Docker tag to v1.11.106
пре 11 месеци
renovate[bot]
4e8aa53e27
Update ghcr.io/element-hq/element-web Docker tag to v1.11.105
пре 11 месеци
renovate[bot]
8f0ac84721
Update ghcr.io/element-hq/element-web Docker tag to v1.11.104
пре 1 година
renovate[bot]
20e98fbb33
Update ghcr.io/element-hq/element-web Docker tag to v1.11.103
пре 1 година
renovate[bot]
f9f5182919
Update ghcr.io/element-hq/element-web Docker tag to v1.11.102
пре 1 година
renovate[bot]
d5d7adf4b5
Update ghcr.io/element-hq/element-web Docker tag to v1.11.101
пре 1 година
renovate[bot]
025909e05b
Update ghcr.io/element-hq/element-web Docker tag to v1.11.100
пре 1 година
Florian Schrön
03672a3a52
fix http-404 for element web with tmpfs
refers to commit
e65d19884 Run Element Web in tightened/read-only mode without a custom nginx config
and issue
https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4199
пре 1 година
Slavi Pantaleev
3ee7deb2d7
Rename variable (`matrix_user_groupname` -> `matrix_group_name`)
пре 1 година