Slavi Pantaleev
2d7d5d4bab
Use new security-opt syntax (: -> =)
Related to https://docs.docker.com/engine/deprecated/#separator--of---security-opt-flag-on-docker-run
3 роки тому
Aine
c11f772e78
Fix python packages path in synapse container
3 роки тому
Aine
0f208ed053
Update synapse 1.75.0 -> 1.76.0; default room version 9 -> 10
3 роки тому
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
3 роки тому
Slavi Pantaleev
34745b5206
Upgrade Synapse (v1.74.0 -> v1.75.0)
3 роки тому
Aine
d1b4a6ebe1
unify docker images urls
3 роки тому
Slavi Pantaleev
f0d1e23c9d
Move around whitelines
3 роки тому
Cody Wyatt Neiman
fc9eaa6ec5
Remove git version for s3 storage provider
3 роки тому
Aine
6bd909bbb7
add mode var for synapse ext ldap auth
3 роки тому
Slavi Pantaleev
1d1fd7053c
ewoutp/goofys:latest -> docker.io/ewoutp/goofys:latest
3 роки тому
Cody Wyatt Neiman
7e5e1712f5
Encode s3 sse-c key for utf-8
3 роки тому
Cody Wyatt Neiman
f5390562ed
Fix synapse s3 storage provider container indentation
3 роки тому
Cody Wyatt Neiman
6d96bcee1d
Allow 'git' as a version for s3 storage provider
3 роки тому
Cody Wyatt Neiman
4d44f7b49e
Use base64 encoded string for sse-c key
3 роки тому
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
3 роки тому
Joe Kappus
deabd79452
Upgrade Synapse (1.73.0 -> 1.74.0)
Signed-off-by: Joe Kappus <joe@wt.gd>
3 роки тому
Luke Moch
dd51ad2ba2
fail if matrix_synapse_ext_synapse_s3_storage_provider_config_endpoint_url 'not' startswith('http')
3 роки тому
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
3 роки тому
Slavi Pantaleev
3824139908
Rename inject_into_nginx_proxy.yml to init.yml when it does more than injection
3 роки тому
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
3 роки тому
Slavi Pantaleev
9edc7da67d
Do not specify now-unnecessary worker_main_http_uri Synapse worker setting
Related to
- c15e9a0edb
- 01a0527892
3 роки тому
Slavi Pantaleev
13e7399104
Handle /timestamp_to_event via Synapse workers
Related to 8f10c8b054
3 роки тому
Slavi Pantaleev
663fe29ddb
Do not specify start_pushers in Synapse config
It's unnecessary when `pusher_instances` is populated.
Source: 6acb6d772a
3 роки тому
Slavi Pantaleev
135bb5af3e
Do not specify send_federation in Synapse config
It's unnecessary when `federation_sender_instances` is populated.
Source: 6acb6d772a
3 роки тому
Slavi Pantaleev
84d529b542
Upgrade Synapse (v1.72.0 -> v1.73.0)
Synapse Worker configuration updates are coming later.
3 роки тому
Slavi Pantaleev
7464604ddd
Make use of matrix_synapse_ext_s3_storage_provider_data_path in a few more places
3 роки тому
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
3 роки тому
Slavi Pantaleev
910cd9adf0
Replace import_role calls with include_role calls
3 роки тому
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.
3 роки тому
Slavi Pantaleev
c928148261
Make uninstall tasks for Synapse delete bin/
3 роки тому
Slavi Pantaleev
7c5c3aedc4
Put s3-storage-provider scripts under /matrix/synapse/ext/s3-storage-provider/bin, not /usr/local/bin
3 роки тому
Slavi Pantaleev
735e7355a5
Rename variable (matrix_synapse_ext_s3_storage_provider_path -> matrix_synapse_ext_s3_storage_provider_base_path)
3 роки тому
Slavi Pantaleev
72744f9db9
/usr/local/bin/matrix-synapse-register-user -> /matrix/synapse/bin/register-user
3 роки тому
Slavi Pantaleev
3d5d843418
Replace some devture_postgres_identifier instances with devture_postgres_connection_hostname
3 роки тому
Slavi Pantaleev
04b9483f0d
Switch from matrix-postgres to com.devture.ansible.role.postgres
3 роки тому
Slavi Pantaleev
dd9ae0d25c
Fix accidentally swapped tags (rust-synapse-compress-state and update-user-password)
3 роки тому
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.
3 роки тому
Slavi Pantaleev
61f67d8f0a
Add install-* tags for quicker runs
3 роки тому
Slavi Pantaleev
663a17ea10
Fix ansible-lint-reported errors
3 роки тому
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)
3 роки тому
Slavi Pantaleev
2e7b5c7b02
Untangle the setup import/include mess in matrix-synapse
3 роки тому
Slavi Pantaleev
d29b0aeddb
Replace even more import_tasks calls with include_tasks
3 роки тому
Slavi Pantaleev
7c2a7a8eb6
Replace most import_tasks calls with include_tasks for improved performance
3 роки тому
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 0ea7cb5d1812a88, so all of
this can be removed.
3 роки тому
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.
3 роки тому
Slavi Pantaleev
ccfaefa4d2
Add service groups
3 роки тому
Slavi Pantaleev
93d4f8d425
Replace matrix-common-after systemd service management with com.devture.ansible.role.systemd_service_manager
3 роки тому
Slavi Pantaleev
360e643f84
Add service priorities - try to stop/start them in an optimal order
3 роки тому
Slavi Pantaleev
0ea7cb5d18
Remove various init.yml files - initialize systemd services, etc., statically (not at runtime)
3 роки тому
Slavi Pantaleev
e37db0c888
Upgrade Synapse (v1.71.0 -> v1.72.0)
3 роки тому