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
2025-07-26 17:58:12 +03:00
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
2025-07-26 17:50:20 +03:00
Suguru Hirahara
17e14a4b89
Enable pre-commit
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-06-03 10:36:00 +03:00
Slavi Pantaleev
3ee7deb2d7
Rename variable (matrix_user_groupname
-> matrix_group_name
)
2025-04-29 10:39:41 +03:00
Slavi Pantaleev
9fc5cdab33
Rename variable (matrix_user_username
-> matrix_user_name
)
2025-04-29 10:39:41 +03:00
Suguru Hirahara
c18fc93a22
Update validate_config.yml files: edit the banner message for variables name
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-03-05 13:30:50 +09:00
Suguru Hirahara
2f2e551798
Add license information to files for matrix-synapse-usage-exporter
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-03-03 00:18: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
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
Slavi Pantaleev
d12643eb91
Do not use docker stop --time
(deprecated in Docker v28 in favor of --timeout
or just -t
)
...
`-t` works on both old and new Docker versions, so it's best to use that.
2025-02-22 21:42:18 +02:00
Suguru Hirahara
90cfdabb2b
Replace DOMAIN with example.com
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-18 04:02:02 +09:00
David Mehren
c89c356e53
Add a global config option for Docker network MTU ( #3502 )
...
* Add a global config option for Docker network MTU
* Upgrade systemd_docker_base (v1.2.0-0 -> v1.3.0-0)
The new version includes `devture_systemd_docker_base_container_networks_driver_options`
due to 3cc7d12396
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3502
* Switch from passing matrix_playbook_docker_network_mtu to respecting devture_systemd_docker_base_container_networks_driver_options
Related to:
- 3cc7d12396
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3502
* Update all roles to versions that respect `devture_systemd_docker_base_container_networks_driver_options`
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com >
2024-09-18 16:20:27 +03:00
Slavi Pantaleev
4d9de7d58a
Add matrix_synapse_usage_exporter_hostname
and matrix_synapse_usage_exporter_path_prefix
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3442
2024-07-25 20:24:40 +03:00
Michael Hollister
55f869254b
Created role for synapse-usage-exporter ( #3442 )
...
* Created role for synapse-usage-exporter
* Apply suggestions from code review
Co-authored-by: Slavi Pantaleev <slavi@devture.com >
* Renaming docker variables and moving synapse stats config location
* Respect devture_systemd_docker_base_docker_service_name
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com >
2024-07-25 20:19:08 +03:00