Thom Wiggers
c177afa160
Fix variable name
2025-05-13 21:38:17 +02:00
Thom Wiggers
5ffb5e8704
some ansible lint complaints
2025-05-13 16:57:43 +02:00
Thom Wiggers
553c434a97
config bind port
2025-05-13 16:57:43 +02:00
Thom Wiggers
dc1bdb6775
Fix unintentional change
2025-05-13 16:57:43 +02:00
Thom Wiggers
168d5bea93
Generate key
2025-05-13 16:57:43 +02:00
Thom Wiggers
801292f1b2
Fix some unintentional changes
2025-05-13 16:57:43 +02:00
Thom Wiggers
5535cff729
Update config.yaml template
2025-05-13 16:57:42 +02:00
Thom Wiggers
fc869565f5
Update server config sample
2025-05-13 16:57:42 +02:00
Thom Wiggers
87f303389e
Update to 3.0.1
2025-05-13 16:57:42 +02:00
Thom Wiggers
5309b1cc39
Update matrix-appservice-irc version
2025-05-13 16:57:42 +02: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
9ac31fb37c
Add license information to matrix-bridge-appservice-irc
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-02-28 14:47:01 +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
bad06d01c2
Update files for matrix-appservice-irc: adopt the common description for logging verbosity
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-01-30 01:19:25 +09:00
Suguru Hirahara
684f1dc16e
Update files for matrix-appservice-irc: add the common section "Troubleshooting"
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-01-30 01:19:06 +09:00
Suguru Hirahara
c1c1b3ada0
Replace triple dots with horizontal ellipsis (U+2026)
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-12-06 13:34:50 +09:00
Suguru Hirahara
2fcd824d6b
Fix capitalization: riot → Riot
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-11-08 20:36:35 +09:00
Suguru Hirahara
aaa6335053
Replace !someRoom with !qporfwt
...
!qporfwt is used as an example of a room ID on https://spec.matrix.org/v1.12/#room-structure
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-21 21:47:52 +09:00
Suguru Hirahara
1e8030810f
Update internal room ID: !someRoom
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-21 21:47:02 +09:00
Suguru Hirahara
55fcaac1f1
Fix capitalization: matrix → Matrix
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-18 23:35:10 +09:00
Suguru Hirahara
3fb2752714
Replace (your.)server.name with example.com
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-18 04:02:27 +09:00
Suguru Hirahara
174b18be9a
Fix capitalization: id → ID
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-16 02:25:03 +09:00
Suguru Hirahara
ba9aeb7c9f
Consistent capitalization: NOTE → Note
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-15 02:58:40 +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
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
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
Slavi Pantaleev
6b73073012
Fix NeDB to Postgres importing task for matrix-bridge-appservice-irc
...
Postgres is not in `matrix_docker_network` anymore, so what we had
before could not possibly work anymore.
2024-01-13 17:18:22 +02:00
Slavi Pantaleev
c0308307e2
Make homeserver services sleep after startup, instead of all dependencies sleeping separately
...
This is an attempt at optimizing service startup.
The effect is most pronounced when many services are restarted one by one.
The systemd service manager role sometimes does this - for example when `just install-service synapse` runs.
In such cases, a 5-second delay for each Synapse worker service
(or other bridge/bot service that waits on the homeserver) quickly adds up to a lot.
When services are all stopped fully and then started, the effect is not so pronounced, because
`matrix-synapse.service` starts first and pulls all worker services (defined as `Wants=` for it).
Later on, when the systemd service manager role "starts" these worker services, they're started already.
Even if they had a 5-second wait each, it would have happened in parallel.
2024-01-12 12:45:18 +02:00
Slavi Pantaleev
ce2f541deb
Switch all remaining container volume mounting from -v to --mount
...
`--mount` is safer, as `-v` has the side-effect of creating the "source"
destination as a directory if it doesn't exist yet.
We don't need such magic.
2024-01-11 12:16:27 +02:00
Slavi Pantaleev
7ec6fd3dfe
Make bridges/bots use matrix_addons_homeserver_client_api_url (instead of matrix_homeserver_container_url)
2024-01-07 17:04:23 +02:00
Slavi Pantaleev
dcdc43b6aa
Move matrix-bridge-appservice-irc to its own container network
2024-01-07 12:00:46 +02:00
Slavi Pantaleev
2511b34a7c
Stop containers gracefully, instead of outright killing them
2023-12-06 11:52:23 +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
bfe89df323
Upgrade appservice-irc (0.38.0 -> 1.0.1)
...
Related to: https://matrix.org/blog/2023/07/bridges-security-updates/
2023-07-31 18:41:47 +03:00
Thom Wiggers
4dae3f0fab
Update IRC appservice to 0.38.0
...
https://github.com/matrix-org/matrix-appservice-irc/releases/tag/0.38.0
2023-05-01 14:30:27 +02:00
Thom Wiggers
3c600899fb
Update Matrix IRC appservice to 0.37.1
...
https://github.com/matrix-org/matrix-appservice-irc/releases/tag/0.37.1
2023-04-04 11:39:50 +02:00
Slavi Pantaleev
dddfee16bc
Fix all 300+ ansible-lint-reported errors
2023-03-07 17:28:15 +02:00
Thom Wiggers
d544f746e8
Update irc appservice
2023-02-27 13:40:23 +01: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