matrix-docker-ansible-deploy/roles
Slavi Pantaleev 330648a3e0 Make Facebook bridge configuration playbook-managed
Related to #193, but for the Facebook bridge.
(other bridges can be changed to do the same later).

This patch makes the bridge configuration entirely managed by the
Ansible playbook. The bridge's `config.yaml` and `registration.yaml`
configuration files are regenerated every time the playbook runs.

This allows us to apply updates to those files and to avoid
people having to manage the configuration files manually on the server.

-------------------------------------------------------------

A deficiency of the current approach to dumping YAML configuration in
`config.yaml` is that we strip all comments from it.
Later on, when the bridge actually starts, it will load and redump
(this time with comments), which will make the `config.yaml` file
change.

Subsequent playbook runs will report "changed" for the
"Ensure mautrix-facebook config.yaml installed" task, which is a little
strange.

We might wish to improve this in the future, if possible.

Still, it's better to have a (usually) somewhat meaningless "changed"
task than to what we had -- never rebuilding the configuration.
2019-06-07 14:05:53 +03:00
..
matrix-base
matrix-bridge-appservice-discord Delay bridge startup to ensure Synapse is up 2019-06-07 12:15:37 +03:00
matrix-bridge-appservice-irc Delay bridge startup to ensure Synapse is up 2019-06-07 12:15:37 +03:00
matrix-bridge-mautrix-facebook Make Facebook bridge configuration playbook-managed 2019-06-07 14:05:53 +03:00
matrix-bridge-mautrix-telegram Delay bridge startup to ensure Synapse is up 2019-06-07 12:15:37 +03:00
matrix-bridge-mautrix-whatsapp Delay bridge startup to ensure Synapse is up 2019-06-07 12:15:37 +03:00
matrix-common-after/tasks Fixed error message to direct users to the right debug command 2019-06-02 18:24:18 -04:00
matrix-corporal Add support for more flexible container port exposing 2019-05-25 07:41:08 +09:00
matrix-coturn Add support for more flexible container port exposing 2019-05-25 07:41:08 +09:00
matrix-dimension Fix undefined variables in mxisd and Dimension configuration 2019-06-07 11:46:35 +03:00
matrix-mailer Fix docker_image option for ansible < 2.8 2019-05-22 05:43:33 -05:00
matrix-mxisd Fix undefined variables in mxisd and Dimension configuration 2019-06-07 11:46:35 +03:00
matrix-nginx-proxy Add support for proxying /_synapse/admin APIs 2019-05-29 08:32:24 +03:00
matrix-postgres Fix docker_image option for ansible < 2.8 2019-05-22 05:43:33 -05:00
matrix-riot-web Upgrade riot-web (1.2.0 -> 1.2.1) 2019-06-04 19:31:14 +03:00
matrix-synapse Delay bridge startup to ensure Synapse is up 2019-06-07 12:15:37 +03:00