matrix-docker-ansible-deploy/roles/matrix-synapse/tasks
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
..
ext Start appservice-irc as non-root 2019-03-12 13:17:51 -04:00
import_media_store.yml Split playbook into multiple roles 2019-01-12 18:01:10 +02:00
init.yml Split playbook into multiple roles 2019-01-12 18:01:10 +02:00
main.yml Make roles more independent of one another 2019-01-16 18:05:48 +02:00
register_user.yml Split playbook into multiple roles 2019-01-12 18:01:10 +02:00
self_check_client_api.yml Make self-check not validate self-signed certificates 2019-03-22 09:41:08 +02:00
self_check_federation_api.yml Make self-check not validate self-signed certificates 2019-03-22 09:41:08 +02:00
setup_synapse_entrypoint.yml Split playbook into multiple roles 2019-01-12 18:01:10 +02:00
setup_synapse_goofys.yml Skip some uninstall tasks if not necessary to run 2019-03-13 07:40:51 +02:00
setup_synapse_main.yml Generate a Synapse signing key file, if missing 2019-04-23 10:06:42 +03:00
setup_synapse_pre.yml Split playbook into multiple roles 2019-01-12 18:01:10 +02:00
validate_config.yml Rename some variables 2019-02-28 11:51:09 +02:00