1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00

Update roles/matrix-bridge-mautrix-signal/defaults/main.yml

Improved setup through template file

Co-authored-by: Jan <31133207+Jaffex@users.noreply.github.com>
This commit is contained in:
WobbelTheBear 2021-08-14 17:35:49 +02:00 committed by GitHub
parent d9e8be7c79
commit ae9639585c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,21 +96,6 @@ matrix_mautrix_signal_configuration_extension_yaml: |
#
# If you need something more special, you can take full control by
# completely redefining `matrix_mautrix_signal_configuration_yaml`.
#
# Permissions for using the bridge.
# Permitted values:
# relay - Allowed to be relayed through the bridge, no access to commands.
# user - Use the bridge with puppeting.
# admin - Use and administrate the bridge.
# Permitted keys:
# * - All Matrix users
# domain - All users on that homeserver
# mxid - Specific user
#
bridge:
permissions:
{{ matrix_mautrix_signal_homeserver_domain }}: "{{ "relay" if matrix_mautrix_signal_relaybot_enabled else "user" }}"
matrix_mautrix_signal_configuration_extension: "{{ matrix_mautrix_signal_configuration_extension_yaml|from_yaml if matrix_mautrix_signal_configuration_extension_yaml|from_yaml is mapping else {} }}"