Slavi Pantaleev
9f6305db4d
Upgrade matrix-corporal (3.1.6 -> 3.1.7)
5 месяцев назад
renovate[bot]
824d18626d
Update ghcr.io/devture/matrix-corporal Docker tag to v3.1.6
6 месяцев назад
renovate[bot]
6bd758ec5a
Update ghcr.io/devture/matrix-corporal Docker tag to v3.1.5
6 месяцев назад
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
2889607941
Add license information to files for matrix-corporal
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 год назад
Slavi Pantaleev
7d4f9fe7dc
Upgrade matrix-corporal (3.1.3 -> 3.1.4) and switch where its gets pulled from
From 3.1.4 and onward, container images will be published to ghcr.io instead of docker.io.
These images are built for arm64 and amd64, but not for arm32 anymore.
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
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
1 год назад
Slavi Pantaleev
d5d64f7ca3
Upgrade matrix-corporal (3.1.2 -> 3.1.3)
1 год назад
Slavi Pantaleev
3104126099
Upgrade matrix-corporal (3.1.1 -> 3.1.2)
1 год назад
Slavi Pantaleev
2296113b69
Upgrade matrix-corporal (3.0.0 -> 3.1.1)
1 год назад
Slavi Pantaleev
1184b3df02
Upgrade matrix-corporal (2.8.0 -> 3.0.0)
1 год назад
Slavi Pantaleev
3e3ce659fe
Upgrade matrix-corporal (2.7.0 -> 2.8.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
a9a1448f62
Add self-check for the matrix-corporal HTTP API (if enabled)
2 лет назад
Slavi Pantaleev
5d76b91dc2
Restore matrix-corporal functionality when matrix-nginx-proxy is not involved
2 лет назад
Slavi Pantaleev
11ee949e9e
Add native Traefik support to matrix-corporal (HTTP API)
2 лет назад
Slavi Pantaleev
e47ad60cf5
Add support for additional networks to matrix-corporal
2 лет назад
Slavi Pantaleev
cfea80b52a
Upgrade matrix-corporal (2.6.0 -> 2.7.0)
2 лет назад
renovate[bot]
6192e81001
Update devture/matrix-corporal Docker tag to v2.6.0
2 лет назад
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
2 лет назад
Slavi Pantaleev
ee4bac1988
Upgrade matrix-corporal (2.5.1 -> 2.5.2)
3 лет назад
Slavi Pantaleev
1abba4c918
Upgrade matrix-corporal (2.5.0 -> 2.5.1)
3 лет назад
Slavi Pantaleev
86d177266a
Upgrade matrix-corporal (2.4.0 -> 2.5.0)
3 лет назад
Slavi Pantaleev
e9e84341a9
Reverse-proxy to Synapse via matrix-synapse-reverse-proxy-companion
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2090
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 лет назад
Slavi Pantaleev
43e38170e5
Upgrade matrix-corporal (2.3.2 -> 2.4.0)
3 лет назад
Slavi Pantaleev
033f188c1e
Upgrade matrix-corporal (2.3.1 -> 2.3.2)
3 лет назад
Slavi Pantaleev
b51fe595b2
Upgrade matrix-corporal (2.3.0 -> 2.3.1)
3 лет назад
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
3 лет назад
Aine
e149f33140
add/unify 'Project source code URL' link across all roles
3 лет назад
Slavi Pantaleev
37b584ef58
Upgrade matrix-corporal (2.2.3 -> 2.3.0)
matrix-corporal 2.3.0 supports Synapse v1.61.0 (which removed
communities/groups support).
3 лет назад
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 лет назад
Slavi Pantaleev
4a4d718f7c
Upgrade matrix-corporal (2.2.2 -> 2.2.3) and disable self-building on ARM32/ARM64
2.2.3 is the first container image tag that is available as a multi-arch image
with support for linux/amd64, linux/arm64/v8 (arm64) and linux/arm/v7 (arm32),
so self-building is no longer necessary on all these platforms.
4 лет назад
Slavi Pantaleev
d584b44f10
Upgrade matrix-corporal (2.2.1 -> 2.2.2)
4 лет назад
Slavi Pantaleev
2734adfb4e
Upgrade matrix-corporal (2.2.0 -> 2.2.1)
4 лет назад
Slavi Pantaleev
2e73dac39f
Upgrade matrix-corporal (2.1.4 -> 2.2.0)
There was also a 2.1.5 security release made today.
2.2.0 contains the same security fix + more.
Both make handling of Client-Server API v3-prefixed requests better.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1404
4 лет назад
boris runakov
1ec67f49b0
replaced 8008 where possible
4 лет назад
Slavi Pantaleev
e72ae8bc48
Upgrade matrix-corporal (2.1.3 -> 2.1.4)
4 лет назад
Slavi Pantaleev
0d4764a213
Upgrade matrix-corporal (2.1.2 -> 2.1.3)
2.1.3 fixes a security vulnerability, which allowed attackers to
circuimvent policy checks by sending HTTP requests with trailing slashes.
Learn more in the matrix-corporal changelog: https://github.com/devture/matrix-corporal/blob/master/CHANGELOG.md
4 лет назад
Slavi Pantaleev
57414ec2be
Upgrade matrix-corporal (2.1.1 -> 2.1.2)
4 лет назад
Michael Collins
98e6cd685d
sync with previous repo
4 лет назад
Slavi Pantaleev
2e0eddde9d
Upgrade matrix-corporal (2.1.0 -> 2.1.1)
4 лет назад
Michael-GMH
89cb5a3d7a
GMH v0.4.2 update
4 лет назад
Ahmad Haghighi
e335f3fc77
rename matrix_global_registry to matrix_container_global_registry_prefix related to #990
Signed-off-by: Ahmad Haghighi <haghighi@fedoraproject.org>
4 лет назад
Ahmad Haghighi
f52a8b6484
use custom docker registry
4 лет назад
Michael
33ec5710d9
0.2.1 revision
5 лет назад
rakshazi
2f887f292c
added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility)
5 лет назад