feat(synapse): add ansible role

This commit is contained in:
2024-09-20 14:15:55 +02:00
parent 2517fe72db
commit 50ae4f63cc
29 changed files with 1109 additions and 0 deletions

29
roles/synapse/README.md Normal file
View File

@ -0,0 +1,29 @@
# `finallycoffee.matrix.synapse` ansible role
## Configuration
### Required
The following variables need to be populated:
- `synapse_domain` - the domain this homeserver should be authoritative for.
- `synapse_signing_key` - the signing key synapse should use.
Set either this or `synapse_role_generate_signing_key: true`.
## Other
- [Configure your database](docs/database.md)
- [Configure your listeners](docs/listeners.md)
- [Configure logging](docs/logging.md)
## Deployment methods
### Docker
Set `synapse_deployment_method: docker` to deploy synapse in docker container(s).
This is currently the default.
### Planned methods
- virtual env + systemd
- podman