Suguru Hirahara
d4c007dffd
Re-run reuse annotate for roles/
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-03-05 16:03:16 +09:00
Slavi Pantaleev
bf0918ae58
Merge branch 'master' into patch-2
2025-03-05 08:29:35 +02: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
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
Suguru Hirahara
43199effd5
Add license information to files for matrix-bot-buscarron
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-02-28 02:09:18 +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
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
601406ddda
Fix capitalization: buscarron → Buscarron
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-28 04:00:30 +09:00
Slavi Pantaleev
ec5e379672
Update old references to com.devture.ansible.role.postgres & com.devture.ansible.role.traefik
...
Provoked by https://github.com/mother-of-all-self-hosting/mash-playbook/pull/280
2024-10-07 08:46:33 +03:00
Slavi Pantaleev
8445843562
Switch postgres/postgres-backup Ansible role sources and adjust variable names (devture_postgres_ -> postgres_)
2024-09-27 09:37:24 +03: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
283dd6494f
Switch all etke.cc links (from Gitlab to Github)
...
Related to https://etke.cc/news/d3uw4utq4t3_rpxicrrfqqou_ynmptqjgk95pt-3n2s/
2024-09-07 02:43:00 +03:00
Aine
d887e08376
buscarron v1.4.3 - migrated to github
2024-08-21 23:08:17 +03:00
Aine
91f5731287
buscarron v1.4.2 ( #3437 )
...
* buscarron v1.4.2
* Add more spaces before comments
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com >
2024-07-23 14:21:32 +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
renovate[bot]
b9de0aa64e
chore(deps): update registry.gitlab.com/etke.cc/buscarron docker tag to v1.4.1
2024-04-17 11:50:47 +00:00
Slavi Pantaleev
3758b0cfeb
Squashed commit of the following:
...
commit cf8637efaca0a0be3609fd6add0dff893a0a9194
Author: Slavi Pantaleev <slavi@devture.com >
Date: Sun Mar 24 19:14:57 2024 +0200
Make devture_systemd_docker_base_ipv6_enabled automatically reconfigure geerlingguy/ansible-role-docker
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3218
commit dc7af3bc7d25f321bf409477d823e43ea8a05803
Author: Slavi Pantaleev <slavi@devture.com >
Date: Sun Mar 24 19:10:31 2024 +0200
Replace matrix_ipv6_enabled with devture_systemd_docker_base_ipv6_enabled
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3218
commit 07e900d6a2
Author: Slavi Pantaleev <slavi@devture.com >
Date: Sun Mar 24 19:01:51 2024 +0200
Improve matrix_ipv6_enabled comments
commit 3f03ca7f69
Author: Tilo Spannagel <development@tilosp.de >
Date: Sat Mar 9 19:27:50 2024 +0000
Add setting to enable ipv6
2024-03-24 19:15:43 +02:00
Aine
2096d13bbd
fix buscarron old vars
2024-02-08 21:17:12 +02:00
Slavi Pantaleev
928b21acf4
Add variable-deprecation task for Buscarron
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3157
2024-02-06 07:23:56 +02:00
Aine
2baea7ce7b
buscarron v1.4.0
2024-02-05 22:07:45 +02:00
Slavi Pantaleev
51df34e7ae
Ensure each container labels file defines at least one service
...
Most of these files were defining a service, usually toward the end.
These lines have been moved upward.
Some components (mautrix-signal, mautrix-gmessages, etc.) were defining
a service conditionally (only if metrics are exposed, etc). This was
causing issues like these in the Traefik logs:
> level=error msg="service \"matrix-mautrix-twitter\" error: port is missing" providerName=docker container=matrix-mautrix-twitter-..
2024-01-17 17:56:45 +02:00
Slavi Pantaleev
5e7b882ce9
Adjust homeserver URL for Buscarron
2024-01-07 15:24:11 +02:00
Slavi Pantaleev
d8b867b6fb
Move matrix-bot-buscarron to its own container network
2024-01-07 09:04:35 +02:00
Slavi Pantaleev
ba0a4e864a
Replace matrix-mailer with an external role
2024-01-05 17:54:50 +02:00
Slavi Pantaleev
2511b34a7c
Stop containers gracefully, instead of outright killing them
2023-12-06 11:52:23 +02:00
Aine
5b6fc8d547
buscarron: migrate to native /metrics auth
2023-11-29 13:23:57 +02:00
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
2023-10-06 14:14:03 +02:00
Slavi Pantaleev
6427397486
Do not hardcode sslmode=disable to Postgres connection strings - make it configurable
...
This is backward-compatible with what we had before. We're not changing
the SSL mode - just making it configurable.
Most components are defaulting to `sslmode=disable`, while some
(`matrix-bot-matrix-reminder-bot` and others) do not specify an `sslmode` at all.
We're making sslmode configurable, because certain external Postgres
servers may be configured to require SSL encryption.
In such cases `sslmode=disable` does not work and needs to be changed to
`sslmode=require` or something else (`verify-ca`, `verify-full`, etc).
2023-08-22 19:40:50 +03:00
Slavi Pantaleev
15884b64c8
Fix ansible-lint-reported errors
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2654
2023-04-21 15:22:03 +03:00
Aine
c20d74af79
buscarron and honoroit - add basic auth for metrics
2023-04-21 12:45:32 +03:00
Slavi Pantaleev
dddfee16bc
Fix all 300+ ansible-lint-reported errors
2023-03-07 17:28:15 +02:00
Slavi Pantaleev
725b2beed7
Add native Traefik support to Buscarron
2023-02-25 15:50:48 +02:00
Slavi Pantaleev
bc5dda2b3a
Reorder some Buscarron default variables and fix some typos
...
Fixes a regression introduced in 0220c851e8
2023-02-25 15:11:23 +02:00
Slavi Pantaleev
0220c851e8
Add multiple container networks support to Buscarron
2023-02-25 15:03:03 +02:00
Slavi Pantaleev
6c2d397853
Fix inaccurate Buscarron project description comment
2023-02-25 14:58:41 +02:00
Aine
2fc02abfdc
Update buscarron v1.3.0 -> v1.3.1
2023-01-18 13:52:44 +00:00
Aine
b487bb6749
unify image prefixes
2023-01-08 22:05:43 +02:00
Slavi Pantaleev
4b111d05d5
Pass devture_postgres_db_migration_request to com.devture.ansible.role.postgres in a cleaner way
2022-11-28 07:44:59 +02:00
Slavi Pantaleev
910cd9adf0
Replace import_role calls with include_role calls
2022-11-27 11:27:01 +02:00
Slavi Pantaleev
2688e8bfc3
Optimize initial installation by not reloading systemd after each .service install
...
We expect `--tags=start` to handle systemd reloading, so we don't need
to do it manually each time we install/uninstall a .service file.
2022-11-27 10:02:45 +02:00
Slavi Pantaleev
7b43ef34b7
Remove more hardcoded matrix-postgres references
2022-11-27 09:16:18 +02:00
Slavi Pantaleev
04b9483f0d
Switch from matrix-postgres to com.devture.ansible.role.postgres
2022-11-27 08:04:31 +02:00
Slavi Pantaleev
a04f6f4e3d
Optimize uninstall tasks a bit
...
- forego removing Docker images - it's not effective anyway, because it
only removes the last version.. which is a drop in the bucket, usually
- do not reload systemd - it's none of our business. `--tags=start`,
etc., handle this
- combine all uninstall tasks under a single block, which only runs if
we detect traces (a leftover systemd .service file) of the component.
If no such .service is detected, we skip them all. This may lead to
incorect cleanup in rare cases, but is good enough for the most part.
2022-11-25 17:28:57 +02:00
Slavi Pantaleev
61f67d8f0a
Add install-* tags for quicker runs
2022-11-25 16:02:51 +02:00
Slavi Pantaleev
7c2a7a8eb6
Replace most import_tasks calls with include_tasks for improved performance
2022-11-24 11:33:45 +02:00
Slavi Pantaleev
0ea7cb5d18
Remove various init.yml files - initialize systemd services, etc., statically (not at runtime)
2022-11-23 11:45:46 +02:00
Slavi Pantaleev
d3bd1ca024
matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay}
2022-11-04 16:44:29 +02:00
Slavi Pantaleev
7086c0ebe3
matrix_host_command_sh -> devture_systemd_docker_base_host_command_sh (via com.devture.ansible.role.systemd_docker_base)
2022-11-04 16:40:25 +02:00
Slavi Pantaleev
a9a81460ec
matrix_host_command_docker -> devture_systemd_docker_base_host_command_docker (via com.devture.ansible.role.systemd_docker_base)
2022-11-04 16:39:35 +02:00
Slavi Pantaleev
835d2e9581
matrix_systemd_path -> devture_systemd_docker_base_systemd_path (via com.devture.ansible.role.systemd_docker_base)
2022-11-04 16:38:38 +02:00