Aine
cbbf20004c
replace access log ip anonymization with vars to control access logs
2025-07-30 14:40:48 +01:00
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
2025-07-27 07:45:58 +03:00
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
2025-07-26 18:53:11 +03:00
renovate[bot]
27c0fa55f4
Update ajbura/cinny Docker tag to v4.8.1
2025-06-10 23:23:04 +03:00
renovate[bot]
d3172f0f32
Update ajbura/cinny Docker tag to v4.8.0
2025-05-24 23:40:52 +03:00
renovate[bot]
e16a644fa2
Update ajbura/cinny Docker tag to v4.7.1
2025-05-21 21:37:50 +03:00
renovate[bot]
0bd29b938a
Update ajbura/cinny Docker tag to v4.7.0
2025-05-18 13:10:39 +03:00
renovate[bot]
86dabd5521
Update ajbura/cinny Docker tag to v4.6.0
2025-03-31 18:39:59 +03:00
Slavi Pantaleev
a103fa63a9
Merge pull request #4147 from spantaleev/renovate/ajbura-cinny-4.x
...
Update ajbura/cinny Docker tag to v4.5.1
2025-03-05 08:31:33 +02:00
renovate[bot]
91130c8a1c
Update ajbura/cinny Docker tag to v4.5.1
2025-03-05 06:27:58 +00:00
Suguru Hirahara
c385bee7af
Re-run "reuse annotate" to sort statements
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-03-05 12:43:41 +09:00
renovate[bot]
76f9e7f34f
Update ajbura/cinny Docker tag to v4.5.0
2025-03-04 10:44:30 +00:00
Suguru Hirahara
59890c2805
Add license information to files for matrix-client-cinny
...
This commit adds copyright attributions in SPDX to the files for matrix-client-cinny, following REUSE's specification.
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-02-27 02:17:26 +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
renovate[bot]
af054a4833
Update ajbura/cinny Docker tag to v4.4.0
2025-02-23 14:39:53 +00:00
Slavi Pantaleev
d6bf789710
Remove matrix_container_global_registry_prefix
variable
...
This is done for a few reasons:
- less globals and more indepdendence for each role is better. We rely
on various externally-hosted roles and they don't rely on this global
either.
- `matrix_container_global_registry_prefix` could make people think they
could just override this variable and have all their images pull from
elsewhere. This is rarely the case, unless you've taken special care
to mirror all the various components (from their respective
registries) to your own. In such a case, you probably know what you're
mirroring and can adjust individual variables.
- nowadays, various components live on different registries.
With Docker Inc tightening rate limits for Docker Hub, it's even more
likely that we'll see increased diversity in where images are hosted
2025-02-23 10:15:41 +02:00
renovate[bot]
245192ff7f
Update ajbura/cinny Docker tag to v4.3.2
2025-02-17 02:56:08 +00:00
renovate[bot]
44d5228011
Update ajbura/cinny Docker tag to v4.3.0
2025-02-11 09:08:46 +00:00
Slavi Pantaleev
3b81f09748
Make various Cinny options configurable via dedicated variables
...
Provoked by https://github.com/etkecc/mrs/pull/4
I've discovered that Cinny supports various configuration options and it'd be better
if we add support for them.
2024-12-21 13:57:01 +02:00
Slavi Pantaleev
c95d181c9a
Add matrix_client_cinny_config_homeserverList
variable
2024-12-21 13:45:00 +02:00
Slavi Pantaleev
4a61bd49e3
Enable (Traefik compression middleware)-assisted compression for Cinny, Element & Hydrogen
2024-11-14 15:54:10 +02:00
Aine
9854dc0a71
grafana v11.3.0; cinny v4.2.3
2024-11-12 14:35:47 +02:00
renovate[bot]
30a01ce354
Update ajbura/cinny Docker tag to v4.2.2
2024-10-16 11:12:26 +00:00
Suguru Hirahara
08cd782b29
Fix capitalization: cinny -> Cinny
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-12 20:12:33 +09:00
renovate[bot]
3622d71d09
Update ajbura/cinny Docker tag to v4.2.1
2024-09-14 15:40:47 +00:00
renovate[bot]
a482b95149
Update ajbura/cinny Docker tag to v4.2.0
2024-09-11 14:48:21 +00:00
renovate[bot]
95e400b571
chore(deps): update ajbura/cinny docker tag to v4.1.0
2024-08-04 12:48:06 +00:00
renovate[bot]
e29b5323df
chore(deps): update ajbura/cinny docker tag to v4.0.3
2024-07-25 11:31:33 +00:00
Slavi Pantaleev
57eeb1be33
Upgrade Cinny (v3.2.0 -> v4.0.0) and adapt our custom nginx configuration with the new URL rewrites
...
Cinny includes nginx configuration which does URL rewrites now, as seen
here: https://raw.githubusercontent.com/cinnyapp/cinny/dev/docker-nginx.conf
That said, we have our own nginx configuration for Cinny, because we'd
like to run ngin as non-root and on a non-privileged port (80 -> 8080).
For this reason, we override `/etc/nginx/nginx.conf` and need to
duplicate what we see in `/etc/nginx/conf.d/default.conf` with our own
`server` block (which listens on port 8080).
2024-07-24 21:54:06 +03:00
Slavi Pantaleev
9f2eff2ac7
Respect devture_systemd_docker_base_docker_service_name
...
Related to 0241c71a4c
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
Slavi Pantaleev
7891268873
Do not hardcode https:// in all remaining places, refer to matrix_static_files_scheme
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3333
2024-05-25 16:14:26 +03:00
Slavi Pantaleev
f4f3d57520
Remove all traces of matrix-nginx-proxy, add validation & uninstallation tasks
2024-01-14 18:42:14 +02:00
Slavi Pantaleev
b37a02720f
Move all Matrix client apps into the matrix-addons container network
...
Putting each client into its own network was good for isolation,
but it's quite wasteful in terms of the container network pool.
2024-01-05 07:17:11 +02:00
Aine
9df69e017b
Update cinny 3.1.0 -> 3.2.0
2023-10-31 13:09:18 +02:00
renovate[bot]
65de453988
Update ajbura/cinny Docker tag to v3.1.0
2023-10-27 15:36:35 +00:00
renovate[bot]
5345125e49
Update ajbura/cinny Docker tag to v3
2023-10-21 13:21:26 +00:00
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
2023-10-06 14:14:03 +02:00
Aine
9e2b0a3be2
Update cinny 2.2.5 -> 2.2.6
2023-03-29 11:20:23 +00:00
Aine
8a9d76b990
Update cinny 2.2.4 -> 2.2.5
2023-03-29 07:57:08 +00:00
Slavi Pantaleev
6cdbde01d7
Fix various Traefik headers syntax
...
`always` is an nginx suffix, which shouldn't have been added to these.
2023-02-20 16:50:39 +02:00
Slavi Pantaleev
f28e7ef9c7
Add (native) Traefik support to matrix-client-cinny
...
Previously, it had to go through matrix-nginx-proxy.
It's exposed to Traefik directly via container labels now
2023-02-14 11:29:53 +02:00
Aine
8c2b77bf0c
Update cinny 2.2.3 -> 2.2.4
2023-01-30 07:07:09 +00:00
Slavi Pantaleev
34c448c3bb
Upgrade Cinny (2.2.2 -> 2.2.3)
2023-01-15 11:07:19 +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