mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-12 08:43:55 +02:00
Use |to_json filter for serializing booleans to JSON
This should account for all cases where we were still doing such a thing. Improvement suggested in #65 (Github issue).
This commit is contained in:
parent
ef2dc3745a
commit
00ae435044
@ -17,7 +17,7 @@
|
||||
},
|
||||
|
||||
"HttpApi": {
|
||||
"Enabled": {{ 'true' if matrix_corporal_http_api_enabled else 'false' }},
|
||||
"Enabled": {{ matrix_corporal_http_api_enabled|to_json }},
|
||||
"ListenAddress": "0.0.0.0:41081",
|
||||
"AuthorizationBearerToken": "{{ matrix_corporal_http_api_auth_token }}"
|
||||
},
|
||||
@ -25,6 +25,6 @@
|
||||
"PolicyProvider": {{ matrix_corporal_policy_provider_config }},
|
||||
|
||||
"Misc": {
|
||||
"Debug": {{ 'true' if matrix_corporal_debug else 'false' }}
|
||||
"Debug": {{ matrix_corporal_debug|to_json }}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user