Commit Graph

3076 Commits

Author SHA1 Message Date
Slavi Pantaleev
5d5642abc5 Upgrade Synapse (v1.67.0 -> v1.68.0) 2022-09-27 15:35:40 +03:00
Slavi Pantaleev
1ea1597020 Fix some ansible-lint-reported warnings
This mostly fixes `key-order` warnings around
`block` statements.
2022-09-27 11:38:33 +03:00
Slavi Pantaleev
0ab5371ebd Upgrade mautrix-telegram (0.12.0 -> 0.12.1) and lottieconverter (alpine-3.15 -> alpine-3.16) 2022-09-27 08:55:27 +03:00
Aine
8e448aed0f
Update Prometheus Node Exporter 1.3.1 -> 1.4.0 2022-09-26 18:23:55 +00:00
Slavi Pantaleev
0499692661 Upgrade appservice-irc (0.35.0 -> 0.35.1) 2022-09-26 15:31:20 +03:00
Slavi Pantaleev
f623cf3550 Only download Grafana dashboard URLs for enabled services
If someone is using Dendrite and enabling Grafana, we'll no longer
download Synapse dashboards.

If someone is not using node-exporter, we'll no longer download node
exporter dashboards.

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2133
2022-09-26 08:46:10 +03:00
Slavi Pantaleev
3f4bedb31e Use matrix_grafana_enabled: true in the matrix-grafana role
This is consistent with what all other roles do. If someone includes a
role, the assumption is that they want its functionality enabled.

The playbook distribution then disables components via
`group_vars/matrix_servers`. We've always had `matrix_grafana_enabled: false`
there, so flipping the in-role `_enabled` flag to `true` does not change
anything for playbook users. Users who import the roles individually in
their own other playbooks (and who don't use `group_vars/matrix_servers`)
may observe a change in the defaults with this.
2022-09-26 08:26:30 +03:00
Slavi Pantaleev
6c928d87ca Configure Grafana's default_home_dashboard_path properly
Using `matrix_synapse_*` variables within the `matrix-grafana` role
is not a good practice.

We now have a `matrix_grafana_default_home_dashboard_path` variable
with a good universal default value and we override it via
`group_vars/matrix_servers` based on enabled components, etc.

This is a better fix for https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2133
2022-09-26 08:23:54 +03:00
Slavi Pantaleev
14af09e4f3 Define matrix_grafana_dashboard_download_urls_all variable in matrix-grafana role
We shouldn't be using it in the role (`tasks/setup.yml`) without
defining at least some default value in the role itself.

We've always had the override in `group_vars/matrix_servers`,
so the variable was essentially defined (at the playbook level), but
that's not the right way to do things.
2022-09-26 08:08:47 +03:00
Slavi Pantaleev
a69613a2e7
Merge pull request #2132 from mjarr/mjarr-patch-1
synapse: match upstream rate limit defaults
2022-09-24 22:46:32 +03:00
mjarr
dd8106790e
synapse: match upstream rate limit defaults 2022-09-24 18:53:56 +02:00
Aine
484536b039
Do not restart postmoogle during installation
Reason: during a fresh install, when there is no synapse yet, systemd unit fails to start, thus whole play fails
2022-09-24 16:01:27 +00:00
Shaleen Jain
b77907f2d4
whatsapp: do not turn on synapse only options 2022-09-24 09:45:26 +05:30
Aine
fc56288f5b
Update Postmoogle 0.9.3 -> 0.9.4
* send emails in UTF-8 👋
* fix options descriptions
* add SMTP auth
* allow sending emails from your apps and scripts using postmoogle as email provider
2022-09-23 08:34:58 +00:00
Darren Rambaud
59adb8d028 dendrite: update image tag version
- 0.9.9 (https://github.com/matrix-org/dendrite/releases/tag/v0.9.9)
2022-09-22 09:21:23 -05:00
Slavi Pantaleev
bcb6679e31
Merge pull request #2124 from etkecc/patch-82
Update Postmoogle 0.9.2 -> 0.9.3
2022-09-21 12:39:05 +03:00
Aine
6d29048ed9
Update Postmoogle 0.9.2 -> 0.9.3 2022-09-21 08:20:21 +00:00
Aine
8717447dc5
Update Honoroit 0.9.14 -> 0.9.15 2022-09-21 08:08:30 +00:00
Aine
c6f9a42f40
Update Grafana 9.1.5 -> 9.1.6 2022-09-20 14:58:45 +00:00
Slavi Pantaleev
916df397d9
Merge pull request #2120 from etkecc/patch-78
Update ddclient v3.9.1-ls98 -> v3.9.1-ls99
2022-09-20 12:13:46 +03:00
Aine
63423e614f
Update ddclient v3.9.1-ls98 -> v3.9.1-ls99 2022-09-20 09:09:27 +00:00
Aine
18836e910f
Update mautrix-instagram 0.2.0 -> 0.2.1 2022-09-20 09:03:22 +00:00
Slavi Pantaleev
89648cf58e Fix some ansible-lint-reported warnings 2022-09-18 12:21:09 +03:00
Slavi Pantaleev
0259a7a50b Fix typo
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2114
2022-09-18 12:03:54 +03:00
Slavi Pantaleev
9654f5b5e3
Merge pull request #2113 from etkecc/honoroit-0914
Update Honoroit 0.9.13 -> 0.9.14
2022-09-18 09:41:26 +03:00
Aine
f042542086
Update Honoroit 0.9.13 -> 0.9.14 2022-09-17 23:51:05 +03:00
Aine
47fa90bdc3
Update mautrix-signal 0.3.0 -> 0.4.0 2022-09-17 20:38:07 +00:00
Shaleen Jain
435c4f8b01
dendrite: update config to match upstream defaults 2022-09-17 14:33:29 +00:00
Slavi Pantaleev
67763fadec
Merge pull request #2109 from borisrunakov/stream_writer_worker_metrics_range
change stream writer worker metrics range start
2022-09-17 17:09:08 +03:00
Aine
3a3a0b5c9a
Update Cinny 2.1.3 -> 2.2.0 2022-09-17 13:41:29 +00:00
borisrunakov
49c64a8d65 change stream writer worker metrics range start 2022-09-17 10:22:05 +03:00
Slavi Pantaleev
f2b66c3b04 Use a different name for appservice-irc image (localhost/ prefix) if self-building enabled
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2108
2022-09-17 10:02:07 +03:00
Slavi Pantaleev
b45cd7495c Upgrade mautrix-whatsapp (0.6.1 -> 0.7.0) and change some defaults
`ephemeral_events`` and `sync_with_custom_puppets` have been flipped
to keep up with the default upstream config:
b33bd9c4a7
2022-09-17 09:39:42 +03:00
Slavi Pantaleev
e25678c57a Upgrade Hookshot (2.1.2 -> 2.2.0) 2022-09-17 09:23:09 +03:00
Slavi Pantaleev
b07fd76830 Fix prometheus.yml.j2 indentation and worker ids for stream writers
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2105
2022-09-15 12:46:44 +03:00
Slavi Pantaleev
800267b182 Fix incorrect if checks breaking start_pushers/send_federaiton/enable_media_repo
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2103
2022-09-15 12:33:23 +03:00
Slavi Pantaleev
ef112181a1 Update some Synapse documentation URLs 2022-09-15 10:46:17 +03:00
Slavi Pantaleev
109e1addb8 Improve reliability when using more than 1 media_repository worker 2022-09-15 10:45:03 +03:00
Slavi Pantaleev
8887aed500 Do not add federation_sender_instances/pusher_instances configuration if not necessary
This keeps the configuration cleaner and hopefully prevents odd issues
if Synapse (by any chance) happens to interpret `pusher_instances: []`
as "no pushers", instead of as "push from the master process".

I haven't confirmed what an empty pushers/federation-senders list means,
so it's safer to just avoid it.
2022-09-15 10:34:02 +03:00
Slavi Pantaleev
a1fb082618 Add support for running background tasks on a worker 2022-09-15 10:32:51 +03:00
Slavi Pantaleev
5f3f460cda Restore support for appservice and user_dir workers 2022-09-15 10:06:56 +03:00
Slavi Pantaleev
8cd7c1ec2f Relocate enable_media_repo and make it configurable via matrix_synapse_enable_media_repo
.. although.. manual configuration is discouraged in most cases.
2022-09-15 08:37:23 +03:00
Slavi Pantaleev
b842447047 Add support for multiple pusher workers 2022-09-15 08:32:55 +03:00
Slavi Pantaleev
22cf259155 Put common worker configuration options at the top 2022-09-15 08:14:47 +03:00
Slavi Pantaleev
ec654ca91e Add support for multiple federation sender workers 2022-09-15 08:13:08 +03:00
Slavi Pantaleev
226c550ffa Add support for stream writer Synapse workers
As stream writer workers are also powered by the `generic_worker`
Synapse app, this necessitated that we provide means for distinguishing
between them and regular `generic_workers`.

I've also taken the time to optimize nginx configuration generation
(more Jinja2 macro usage, less duplication).

Worker names have also changed.
Workers are now named sequentially like this:
- `matrix-synapse-worker-0-generic`
- `matrix-synapse-worker-1-stream-writer-typing`
- `matrix-synapse-worker-2-pusher`

instead of `matrix-synapse-worker_generic_worker-18111` (indexed with a
port number).

People who modify `matrix_synapse_workers_enabled_list` directly will
need to adjust their configuration.
2022-09-15 08:10:04 +03:00
Slavi Pantaleev
fde5fef8b3 Fix Cactus Comments nginx injection when matrix-nginx-proxy disabled
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2101

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2089
2022-09-14 20:44:35 +03:00
Aine
cb2e57e33a
Update Postmoogle 0.9.1 -> 0.9.2 2022-09-14 09:58:33 +00:00
Slavi Pantaleev
ef523d68a4 Suppress errors in docker kill/rm calls for Synapse workers
We do the same everywhere else. This is an omission.
2022-09-14 08:13:01 +03:00
Slavi Pantaleev
bab0d3b2cf
Merge pull request #2098 from etkecc/patch-72
Update Appservice IRC 0.34.0 -> 0.35.0
2022-09-13 17:17:29 +03:00