ansible-base/roles/mautrix_signal/defaults/main.json

34 lines
1.3 KiB
JSON
Raw Normal View History

{
"cfg_mautrix_signal_defaults": {
"user_name": "mautrix",
"directory": "/opt/mautrix-signal",
"database": {
"host": "localhost",
"port": 5432,
"username": "mautrix_signal_user",
"schema": "mautrix_signal"
},
"homeserver": {
"address": "http://localhost:8008",
"domain": "synapse.example.org",
"conf_directory": "/etc/matrix-synapse/conf.d",
"appservices_directory": "/etc/matrix-synapse/appservices.d",
"user_name": "matrix-synapse",
"service_name": "matrix-synapse"
},
"formats": {
"displayname": "{{ .DisambiguatedName }}",
"messages": {
"text": "<b>{{ .Sender.DisambiguatedName }}</b>: {{ .Message }}",
"notice": "<b>{{ .Sender.DisambiguatedName }}</b>: {{ .Message }}",
"emote": "* <b>{{ .Sender.DisambiguatedName }}</b> {{ .Message }}",
"file": "<b>{{ .Sender.DisambiguatedName }}</b> sent a file{{ if .Caption }}: {{ .Caption }}{{ end }}",
"image": "<b>{{ .Sender.DisambiguatedName }}</b> sent an image{{ if .Caption }}: {{ .Caption }}{{ end }}",
"audio": "<b>{{ .Sender.DisambiguatedName }}</b> sent an audio file{{ if .Caption }}: {{ .Caption }}{{ end }}",
"video": "<b>{{ .Sender.DisambiguatedName }}</b> sent a video{{ if .Caption }}: {{ .Caption }}{{ end }}",
"location": "<b>{{ .Sender.DisambiguatedName }}</b> sent a location{{ if .Caption }}: {{ .Caption }}{{ end }}"
}
}
}
}