|
|
|
@ -92,6 +92,20 @@ registration_shared_secret: "{{ synapse_registration_shared_secret }}" |
|
|
|
|
bcrypt_rounds: 12 |
|
|
|
|
allow_guest_access: {{ synapse_allow_guest_access | ternary('True', 'False') }} |
|
|
|
|
|
|
|
|
|
rc_message: |
|
|
|
|
per_second: {{ synapse_rc_message_per_sec }} |
|
|
|
|
burst_count: {{ synapse_rc_message_burst }} |
|
|
|
|
rc_login: |
|
|
|
|
address: |
|
|
|
|
per_second: {{ synapse_rc_login_per_sec }} |
|
|
|
|
burst_count: {{ synapse_rc_login_burst }} |
|
|
|
|
account: |
|
|
|
|
per_second: {{ synapse_rc_login_per_sec }} |
|
|
|
|
burst_count: {{ synapse_rc_login_burst }} |
|
|
|
|
failed_attempts: |
|
|
|
|
per_second: {{ synapse_rc_login_per_sec }} |
|
|
|
|
burst_count: {{ synapse_rc_login_burst }} |
|
|
|
|
|
|
|
|
|
enable_metrics: False |
|
|
|
|
report_stats: False |
|
|
|
|
|
|
|
|
@ -126,28 +140,17 @@ trusted_key_servers: |
|
|
|
|
- server_name: "matrix.org" |
|
|
|
|
suppress_key_server_warning: True |
|
|
|
|
|
|
|
|
|
{% if synapse_email_notifs %} |
|
|
|
|
email: |
|
|
|
|
enable_notifs: True |
|
|
|
|
smtp_host: "{{ synapse_smtp_server }}" |
|
|
|
|
smtp_port: {{ synapse_smtp_port }} |
|
|
|
|
{% if synapse_smtp_user is defined and synapse_smtp_pass is defined %} |
|
|
|
|
smtp_user: "{{ synapse_smtp_user }}" |
|
|
|
|
smtp_pass: "{{ synapse_smtp_pass }}" |
|
|
|
|
{% endif %} |
|
|
|
|
require_transport_security: {{ synapse_smtp_tls | ternary('True', 'False') }} |
|
|
|
|
smtp_host: "localhost" |
|
|
|
|
smtp_port: 25 |
|
|
|
|
require_transport_security: False |
|
|
|
|
notif_from: "{{ synapse_smtp_from }}" |
|
|
|
|
app_name: {{ synapse_app_name }} |
|
|
|
|
notif_for_new_users: True |
|
|
|
|
notif_template_html: notif_mail.html |
|
|
|
|
notif_template_text: notif_mail.txt |
|
|
|
|
{% if synapse_riot_url is defined %} |
|
|
|
|
riot_base_url: "{{ synapse_riot_base_url }}" |
|
|
|
|
{% if synapse_client_url is defined %} |
|
|
|
|
client_base_url: "{{ synapse_client_base_url }}" |
|
|
|
|
{% endif %} |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
push: |
|
|
|
|
include_content: true |
|
|
|
|
|
|
|
|
|
{% if synapse_auth == 'ldap' %} |
|
|
|
|
password_providers: |
|
|
|
|