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