Aine
0f208ed053
Update synapse 1.75.0 -> 1.76.0; default room version 9 -> 10
2 years ago
Slavi Pantaleev
424f79df3a
Replace synapse.app.pusher and synapse.app.federation_sender with synapse.app.generic_worker
...
Related to https://github.com/matrix-org/synapse/commit/3479599387164aca2613e88d169719
2 years ago
Slavi Pantaleev
34745b5206
Upgrade Synapse (v1.74.0 -> v1.75.0)
2 years ago
Aine
d1b4a6ebe1
unify docker images urls
2 years ago
Slavi Pantaleev
d2416365d2
Merge pull request #2220 from xangelix/synapse-s3-sse-c
...
Add S3 SSE-C config support for synapse-s3-storage-provider
2 years ago
Slavi Pantaleev
f0d1e23c9d
Move around whitelines
2 years ago
Cody Wyatt Neiman
fc9eaa6ec5
Remove git version for s3 storage provider
2 years ago
Aine
6bd909bbb7
add mode var for synapse ext ldap auth
2 years ago
Slavi Pantaleev
1d1fd7053c
ewoutp/goofys:latest -> docker.io/ewoutp/goofys:latest
2 years ago
Cody Wyatt Neiman
7e5e1712f5
Encode s3 sse-c key for utf-8
2 years ago
Cody Wyatt Neiman
f5390562ed
Fix synapse s3 storage provider container indentation
2 years ago
Cody Wyatt Neiman
6d96bcee1d
Allow 'git' as a version for s3 storage provider
2 years ago
Cody Wyatt Neiman
4d44f7b49e
Use base64 encoded string for sse-c key
2 years ago
Cody Wyatt Neiman
4c60b1dabf
Merge branch 'master' into synapse-s3-sse-c
2 years ago
Slavi Pantaleev
40aa42e982
Add reference to push.enabled to homeserver.yaml
...
Related to:
- https://github.com/matrix-org/synapse/pull/14551/files
- https://github.com/matrix-org/synapse/pull/14619/files
2 years ago
Joe Kappus
deabd79452
Upgrade Synapse (1.73.0 -> 1.74.0)
...
Signed-off-by: Joe Kappus <joe@wt.gd>
2 years ago
Luke Moch
dd51ad2ba2
fail if matrix_synapse_ext_synapse_s3_storage_provider_config_endpoint_url 'not' startswith('http')
2 years ago
Slavi Pantaleev
d81e7d6328
Make matrix_synapse_ext_synapse_s3_storage_provider_config_endpoint_url required
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2330
2 years ago
Slavi Pantaleev
3824139908
Rename inject_into_nginx_proxy.yml to init.yml when it does more than injection
2 years ago
Slavi Pantaleev
f186d6236d
Add some missing tags to Synapse role
...
Without these:
- `--tags=install-synapse` and `--tags=install-all` would be incomplete
and will not contain Synapse worker configuration
- `--tags=install-synapse-reverse-proxy-companion` and
`--tags=setup-synapse-reverse-proxy-companion` would not contain
Synapse worker configuration
2 years ago
Slavi Pantaleev
9edc7da67d
Do not specify now-unnecessary worker_main_http_uri Synapse worker setting
...
Related to
- c15e9a0edb
- 01a0527892
2 years ago
Slavi Pantaleev
13e7399104
Handle /timestamp_to_event via Synapse workers
...
Related to 8f10c8b054
2 years ago
Slavi Pantaleev
663fe29ddb
Do not specify start_pushers in Synapse config
...
It's unnecessary when `pusher_instances` is populated.
Source: 6acb6d772a
2 years ago
Slavi Pantaleev
135bb5af3e
Do not specify send_federation in Synapse config
...
It's unnecessary when `federation_sender_instances` is populated.
Source: 6acb6d772a
2 years ago
Slavi Pantaleev
84d529b542
Upgrade Synapse (v1.72.0 -> v1.73.0)
...
Synapse Worker configuration updates are coming later.
2 years ago
Slavi Pantaleev
7464604ddd
Make use of matrix_synapse_ext_s3_storage_provider_data_path in a few more places
2 years ago
Quentin Young
b31731ebf8
fix s3 storage provider not ensuring data dir
...
This path is accessed by the s3 storage provider stuff and needs to be
ensured.
Broken by 7c5c3aedc
2 years ago
Slavi Pantaleev
910cd9adf0
Replace import_role calls with include_role calls
2 years ago
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.
2 years ago
Slavi Pantaleev
c928148261
Make uninstall tasks for Synapse delete bin/
2 years ago
Slavi Pantaleev
7c5c3aedc4
Put s3-storage-provider scripts under /matrix/synapse/ext/s3-storage-provider/bin, not /usr/local/bin
2 years ago
Slavi Pantaleev
735e7355a5
Rename variable (matrix_synapse_ext_s3_storage_provider_path -> matrix_synapse_ext_s3_storage_provider_base_path)
2 years ago
Slavi Pantaleev
72744f9db9
/usr/local/bin/matrix-synapse-register-user -> /matrix/synapse/bin/register-user
2 years ago
Slavi Pantaleev
3d5d843418
Replace some devture_postgres_identifier instances with devture_postgres_connection_hostname
2 years ago
Slavi Pantaleev
04b9483f0d
Switch from matrix-postgres to com.devture.ansible.role.postgres
2 years ago
Slavi Pantaleev
dd9ae0d25c
Fix accidentally swapped tags (rust-synapse-compress-state and update-user-password)
2 years ago
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.
2 years ago
Slavi Pantaleev
61f67d8f0a
Add install-* tags for quicker runs
2 years ago
Slavi Pantaleev
663a17ea10
Fix ansible-lint-reported errors
2 years ago
Slavi Pantaleev
c37cf42427
Do not delete and re-create Synapse worker configs needlessly
...
We had checks to avoid stopping/deleting systemd services for workers
that used to exist and will continue to exist, but we were deleting
config files for workers each time.. Only to recreate them again later.
This lead to:
- too many misleading "changed" tasks
- too much unnecessary work
- potential failures during playbook execution possibly leaving the
system in a bad state (no worker config files)
2 years ago
Slavi Pantaleev
2e7b5c7b02
Untangle the setup import/include mess in matrix-synapse
2 years ago
Slavi Pantaleev
d29b0aeddb
Replace even more import_tasks calls with include_tasks
2 years ago
Slavi Pantaleev
7c2a7a8eb6
Replace most import_tasks calls with include_tasks for improved performance
2 years ago
Slavi Pantaleev
07c23b7cb0
Remove matrix_synapse_role_executed and various tasks that check it
...
This was useful when the order of these roles in relation to Synapse
mattered (when we were injecting stuff into Synapse variables during
runtime). This is no longer the case since 0ea7cb5d18
, so all of
this can be removed.
2 years ago
Slavi Pantaleev
735bacca89
Do not run matrix-nginx-proxy config injection tasks unless necessary
...
These `init.yml` (now `inject_into_nginx_proxy.yml`) tasks do not need
to `always` run. They only need to run for `setup-all` and
`setup-nginx-proxy`. Unless we're dealing with these 2 tags, we can
spare ourselves a lot of work.
This patch also moves the `when` statement from `init.yml` into
`main.yml` in an effort to further optimize things by potentially
avoiding the extra file include.
2 years ago
Slavi Pantaleev
ccfaefa4d2
Add service groups
2 years ago
Slavi Pantaleev
93d4f8d425
Replace matrix-common-after systemd service management with com.devture.ansible.role.systemd_service_manager
2 years ago
Slavi Pantaleev
360e643f84
Add service priorities - try to stop/start them in an optimal order
2 years ago
Slavi Pantaleev
0ea7cb5d18
Remove various init.yml files - initialize systemd services, etc., statically (not at runtime)
2 years ago
Slavi Pantaleev
e37db0c888
Upgrade Synapse (v1.71.0 -> v1.72.0)
2 years ago