Files
configpolicy/group_vars/synapse/secrets
Dustin C. Hatch 371305bed4 roles/synapse: Deploy the Matrix homeserver
The *synapse* role and the corresponding `synapse.yml` playbook deploy
Synapse, the reference Matrix homeserver implementation.

Deploying Synapse itself is fairly straightforward: it is packaged by
Fedora and therefore can simply be installed via `dnf` and started by
`systemd`.  Making the service available on the Internet, however, is
more involved.  The Matrix protocol mostly works over HTTPS on the
standard port (443), so a typical reverse proxy deployment is mostly
sufficient.  Some parts of the Matrix protocol, however, involve
communication over an alternate port (8448).  This could be handled by a
reverse proxy as well, but since it is a fairly unique port, it could
also be handled by NAT/port forwarding.  In order to support both
deployment scenarios (as well as the hypothetical scenario wherein the
Synapse machine is directly accessible from the Internet), the *synapse*
role supports specifying an optional `matrix_tls_cert` variable.  If
this variable is set, it should contain the path to a certificate file
on the Ansible control machine that will be used for the "direct"
connections (i.e. on port 8448).  If it is not set, the default Apache
certificate will be used for both virtual hosts.

Synapse has a pretty extensive configuration schema, but most of the
options are set to their default values by the *synapse* role.  Other
than substituting secret keys, the only exposed configuration option is
the LDAP authentication provider.
2020-12-30 21:54:02 -06:00

10 lines
614 B
Plaintext

$ANSIBLE_VAULT;1.1;AES256
63353463626538346438303931303537663265346634313861653364333635323337666634303136
3036343162343532306263653634376132663836393962640a623738393633336437643330656264
66633166306532373631323236346237626239643839313934383264393231313134323761313163
6464626566623466630a313363386332613637346638333439666438383939306632666466353966
30323538326462313836306563353233663935636130636361353938623331396432356436383137
30336464646136633931613763363464373165386435613939656435663332326432396539633037
30373035663336613937383038363032373330316137333333303632353839643338393938343238
34393634643139323066