matrix-docker-ansible-deploy/roles/matrix-synapse
Slavi Pantaleev 39566aa7fe Generate a Synapse signing key file, if missing
The code used to check for a `homeserver.yaml` file and generate
a configuration (+ key) only if such a configuration file didn't exist.

Certain rare cases (setting up with one server name and then
changing to another) lead to `homeserver.yaml` being there,
but a `matrix.DOMAIN.signing.key` file missing (because the domain
changed).
A new signing key file would never get generated, because `homeserver.yaml`'s
existence used to be (incorrectly) satisfactory for us.

From now on, we don't mix things up like that.
We don't care about `homeserver.yaml` anymore, but rather
about the actual signing key.

The rest of the configuration (`homeserver.yaml` and
`matrix.DOMAIN.log.config`) is rebuilt by us in any case, so whether
it exists or not is irrelevant and doesn't need checking.
2019-04-23 10:06:42 +03:00
..
defaults Add additional room config options: 2019-04-16 12:40:38 +03:00
tasks Generate a Synapse signing key file, if missing 2019-04-23 10:06:42 +03:00
templates Add additional room config options: 2019-04-16 12:40:38 +03:00
vars Rename some variables 2019-02-28 11:51:09 +02:00