Aine
cbbf20004c
replace access log ip anonymization with vars to control access logs
7ヶ月前
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
7ヶ月前
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
7ヶ月前
Suguru Hirahara
c385bee7af
Re-run "reuse annotate" to sort statements
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1年前
Suguru Hirahara
afd122330b
Add license information to files for matrix-client-hydrogen
This commit adds copyright attributions in SPDX to the files for matrix-client-hydrogen following REUSE's specification.
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1年前
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.
1年前
Slavi Pantaleev
4a61bd49e3
Enable (Traefik compression middleware)-assisted compression for Cinny, Element & Hydrogen
1年前
Slavi Pantaleev
17f98f005e
Upgrade Hydrogen (v0.5.0 -> v0.5.1)
1年前
renovate[bot]
1d145e86b8
Update ghcr.io/element-hq/hydrogen-web Docker tag to v0.5.0
1年前
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.
1年前
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
1年前
Slavi Pantaleev
f4f3d57520
Remove all traces of matrix-nginx-proxy, add validation & uninstallation tasks
2年前
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.
2年前
Pierre 'McFly' Marty
4a8d8d8ce5
fix: hydrogen client docker/sources url
2年前
Samuel Meenzen
cfefc36477
fix: correct vector-im image name for renovate
2年前
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
2年前
Slavi Pantaleev
f4829d6988
Upgrade Hydrogen (v0.4.0 -> v0.4.1)
2年前
Aine
b035ef1fa3
Update hydrogen 0.3.8 -> 0.4.0
2年前
Slavi Pantaleev
6cdbde01d7
Fix various Traefik headers syntax
`always` is an nginx suffix, which shouldn't have been added to these.
3年前
Aine
c98f40c836
Update hydrogen 0.3.7 -> 0.3.8
3年前
Slavi Pantaleev
eb7292f274
Add matrix_client_hydrogen_hostname and fix Hydrogen serving at non-root-path
3年前
Slavi Pantaleev
6a52be7987
Add (native) Traefik support to matrix-client-hydrogen
Previously, it had to go through matrix-nginx-proxy.
It's exposed to Traefik directly via container labels now
Serving at a path other than `/` doesn't work well yet.
3年前
Aine
a1ef28681a
Update Hydrogen 0.3.6 -> 0.3.7
3年前
Slavi Pantaleev
d0b2a50768
Upgrade Hydrogen (v0.3.5 -> v0.3.6)
3年前
Matthew Cengia
3453fff901
Use upstream Docker image for amd64 rather than self-build
3年前
Slavi Pantaleev
16c18b0344
Upgrade Hydrogen (v0.3.4 -> v0.3.5)
3年前
Aine
19b59f9ded
Update Hydrogen 0.3.3 -> 0.3.4
3年前
Slavi Pantaleev
a4e2a3bc07
Upgrade Hydrogen (v0.3.2 -> v0.3.3)
3年前
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.
3年前