Slavi Pantaleev
d207edb304
Deprecate matrix_synapse_spam_checker in favor of matrix_synapse_modules
2 years ago
Alexis Yushin
ba1d665bd9
make smtp tls configurable / optional
2 years ago
Slavi Pantaleev
c09c1265e8
Stop using deprecated worker settings (worker_replication_host, worker_replication_http_port)
Related to:
- e4f545c452
- 2481b7dfa4
We've prepared for this by adding the `main` process to the `instance_map` a long time ago,
in 49cb8b7b11 .
2 years ago
Zac
f026c7cee1
Apply suggestions from code review
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2 years ago
cbackas
0e701bbece
add var to make the creds optional
2 years ago
Zac
ceda4c41cc
remove the offending lines
2 years ago
Luke D Iremadze
5c0279f0c9
Update roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2 years ago
Luke D Iremadze
2f4428bf5b
Update roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2 years ago
Luke D Iremadze
1f0da9f744
Create hooks for user search ability
2 years ago
Slavi Pantaleev
c55371e305
Add changelog entry for the forget_rooms_on_leave default change for Synapse
Related to:
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2698
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2700
2 years ago
Aine
9350eeb9fb
update synapse 1.83.0 -> 1.84.0; set forget_rooms_on_leave = true
2 years ago
Slavi Pantaleev
b71375fac7
Disable healthcheck for Synapse workers which serve no web traffic
This was mostly affecting the stream writer (events) worker, which was
being reported as unhealthy. It wasn't causing any issues, but it just
looked odd and was confusing people.
As an alternative to hitting the regular `/health` healthcheck route (on
the "client" API which this stream writer does not expose),
we may have went for hitting some "replication" API endpoint instead.
This is more complicated and likely unnecessary.
2 years ago
Slavi Pantaleev
1e1ab70965
Make use of matrix_synapse_container_network in the matrix-synapse role
It's the same as `matrix_docker_network` for now, so this practically
doesn't change anything.
2 years ago
spatterlight
beb40134b7
Add support for backup LDAP servers ( #2650 )
* Update homeserver.yaml.j2
* Update configuring-playbook-ldap-auth.md
* Update homeserver.yaml.j2
2 years ago
Kanlas
9c75a1e20d
Fix recaptcha vars ansible-vault compatibility
2 years ago
Aeris One
44aa0dce7b
Add ability to disable password auth ( #2612 )
* Add ability to disable password auth
* Allow disabling password authentication
3 years ago
Slavi Pantaleev
643acfcb5b
Make synapse-s3-storage-provider periodic migration schedule customizable
Larger deployments may wish to run migration more often.
3 years ago
Slavi Pantaleev
5df89a44b3
Add support for customizing Synapse templates
3 years ago
Slavi Pantaleev
9775218850
Add matrix_synapse_email_app_name variable
3 years ago
Slavi Pantaleev
632026513e
Add matrix_synapse_uid, matrix_synapse_gid and matrix_synapse_username
3 years ago
Slavi Pantaleev
519b32543c
Add matrix_synapse_container_network and matrix_synapse_container_additional_networks
3 years ago
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 years ago
Slavi Pantaleev
f0d1e23c9d
Move around whitelines
3 years ago
Cody Wyatt Neiman
fc9eaa6ec5
Remove git version for s3 storage provider
3 years ago
Aine
6bd909bbb7
add mode var for synapse ext ldap auth
3 years ago
Cody Wyatt Neiman
7e5e1712f5
Encode s3 sse-c key for utf-8
3 years ago
Cody Wyatt Neiman
f5390562ed
Fix synapse s3 storage provider container indentation
3 years ago
Cody Wyatt Neiman
6d96bcee1d
Allow 'git' as a version for s3 storage provider
3 years ago
Cody Wyatt Neiman
4d44f7b49e
Use base64 encoded string for sse-c key
3 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
3 years ago
Slavi Pantaleev
9edc7da67d
Do not specify now-unnecessary worker_main_http_uri Synapse worker setting
Related to
- c15e9a0edb
- 01a0527892
3 years ago
Slavi Pantaleev
663fe29ddb
Do not specify start_pushers in Synapse config
It's unnecessary when `pusher_instances` is populated.
Source: 6acb6d772a
3 years ago
Slavi Pantaleev
135bb5af3e
Do not specify send_federation in Synapse config
It's unnecessary when `federation_sender_instances` is populated.
Source: 6acb6d772a
3 years ago
Slavi Pantaleev
7464604ddd
Make use of matrix_synapse_ext_s3_storage_provider_data_path in a few more places
3 years ago
Slavi Pantaleev
7c5c3aedc4
Put s3-storage-provider scripts under /matrix/synapse/ext/s3-storage-provider/bin, not /usr/local/bin
3 years ago
Slavi Pantaleev
735e7355a5
Rename variable (matrix_synapse_ext_s3_storage_provider_path -> matrix_synapse_ext_s3_storage_provider_base_path)
3 years ago
Slavi Pantaleev
72744f9db9
/usr/local/bin/matrix-synapse-register-user -> /matrix/synapse/bin/register-user
3 years ago
Cody Wyatt Neiman
b6bb5731cd
Remove leftover sse-c enabled cmd check
3 years ago
Cody Wyatt Neiman
a7320e02ff
Adjust sse-c template formatting
3 years ago
Cody Wyatt Neiman
384da4f34f
Add S3 SSE-C support to synapse-s3-storage-provider
3 years ago
Slavi Pantaleev
7086c0ebe3
matrix_host_command_sh -> devture_systemd_docker_base_host_command_sh (via com.devture.ansible.role.systemd_docker_base)
3 years ago
Slavi Pantaleev
a9a81460ec
matrix_host_command_docker -> devture_systemd_docker_base_host_command_docker (via com.devture.ansible.role.systemd_docker_base)
3 years ago
Slavi Pantaleev
f03f716989
matrix_systemd_unit_home_path -> devture_systemd_docker_base_systemd_unit_home_path (via com.devture.ansible.role.systemd_docker_base)
3 years ago
Slavi Pantaleev
410a915a8a
Move roles/matrix* to roles/custom/matrix*
This paves the way for installing other roles into `roles/galaxy` using `ansible-galaxy`,
similar to how it's done in:
- https://github.com/spantaleev/gitea-docker-ansible-deploy
- https://github.com/spantaleev/nextcloud-docker-ansible-deploy
In the near future, we'll be removing a lot of the shared role code from here
and using upstream roles for it. Some of the core `matrix-*` roles have
already been extracted out into other reusable roles:
- https://github.com/devture/com.devture.ansible.role.postgres
- https://github.com/devture/com.devture.ansible.role.systemd_docker_base
- https://github.com/devture/com.devture.ansible.role.timesync
- https://github.com/devture/com.devture.ansible.role.vars_preserver
- https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages
- https://github.com/devture/com.devture.ansible.role.playbook_help
We just need to migrate to those.
3 years ago