mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-05 03:58:31 +00:00
c451025134
Use Jinja2 lstrip_blocks option in templates to ensure consistent indentation in generated files.
32 lines
1.0 KiB
Django/Jinja
32 lines
1.0 KiB
Django/Jinja
#jinja2: lstrip_blocks: "True"
|
|
{
|
|
"Matrix": {
|
|
"HomeserverDomainName": "{{ matrix_corporal_matrix_homeserver_domain_name }}",
|
|
"HomeserverApiEndpoint": "{{ matrix_corporal_matrix_homeserver_api_endpoint }}",
|
|
"AuthSharedSecret": "{{ matrix_corporal_matrix_auth_shared_secret }}",
|
|
"RegistrationSharedSecret": "{{ matrix_corporal_matrix_registration_shared_secret }}",
|
|
"TimeoutMilliseconds": {{ matrix_corporal_matrix_timeout_milliseconds }}
|
|
},
|
|
|
|
"Reconciliation": {
|
|
"UserId": "@{{ matrix_corporal_reconciliation_user_id_local_part }}:{{ matrix_domain }}",
|
|
"RetryIntervalMilliseconds": {{ matrix_corporal_reconciliation_retry_interval_milliseconds }}
|
|
},
|
|
|
|
"HttpGateway": {
|
|
"ListenAddress": "0.0.0.0:41080"
|
|
},
|
|
|
|
"HttpApi": {
|
|
"Enabled": {{ matrix_corporal_http_api_enabled|to_json }},
|
|
"ListenAddress": "0.0.0.0:41081",
|
|
"AuthorizationBearerToken": "{{ matrix_corporal_http_api_auth_token }}"
|
|
},
|
|
|
|
"PolicyProvider": {{ matrix_corporal_policy_provider_config }},
|
|
|
|
"Misc": {
|
|
"Debug": {{ matrix_corporal_debug|to_json }}
|
|
}
|
|
}
|