Add mautrix-whatsapp role
This commit is contained in:
73
roles/mautrix_whatsapp/templates/config.yaml.j2
Normal file
73
roles/mautrix_whatsapp/templates/config.yaml.j2
Normal file
@@ -0,0 +1,73 @@
|
||||
---
|
||||
# vim:ft=yaml
|
||||
# {{ ansible_managed }}
|
||||
|
||||
network:
|
||||
os_name: "{{ mautrix_whatsapp_os_name }}"
|
||||
|
||||
send_presence_on_typing: true
|
||||
url_previews: true
|
||||
extev_polls: true
|
||||
|
||||
bridge:
|
||||
cleanup_on_logout:
|
||||
enabled: true
|
||||
manual:
|
||||
private: nothing
|
||||
relayed: nothing
|
||||
shared_no_users: kick
|
||||
shared_has_users: kick
|
||||
bad_credentials:
|
||||
private: nothing
|
||||
relayed: nothing
|
||||
shared_no_users: kick
|
||||
shared_has_users: kick
|
||||
|
||||
relay:
|
||||
enabled: true
|
||||
admin_only: true
|
||||
default_relays:
|
||||
{{ mautrix_whatsapp_default_relays | to_nice_yaml | indent(4) }}
|
||||
permissions:
|
||||
"*": relay
|
||||
{% for item in mautrix_whatsapp_permissions %}
|
||||
"{{ item.key }}": {{ item.value }}
|
||||
{% endfor %}
|
||||
|
||||
database:
|
||||
type: postgres
|
||||
|
||||
homeserver:
|
||||
address: http://synapse:8009
|
||||
domain: {{ mautrix_whatsapp_homeserver_name }}
|
||||
async_media: true
|
||||
|
||||
appservice:
|
||||
address: http://mautrix-whatsapp:8080
|
||||
hostname: 0.0.0.0
|
||||
port: 8080
|
||||
id: whatsapp
|
||||
bot:
|
||||
username: whatsappbot
|
||||
displayname: {{ mautrix_whatsapp_bot_displayname }}
|
||||
|
||||
matrix:
|
||||
delivery_receipts: true
|
||||
|
||||
provisioning:
|
||||
shared_secret: disable
|
||||
|
||||
encryption:
|
||||
allow: true
|
||||
default: false
|
||||
msc4190: true
|
||||
|
||||
allow_key_sharing: true
|
||||
|
||||
env_config_prefix: BRIDGE_
|
||||
|
||||
logging:
|
||||
min_level: info
|
||||
writers:
|
||||
- type: stdout
|
||||
format: pretty-colored
|
||||
Reference in New Issue
Block a user