mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-26 19:08:31 +01:00
Move matrix-registration-bot's token comment inside the if statement
This commit is contained in:
parent
d89e627a79
commit
11a90a4789
@ -6,8 +6,8 @@ bot:
|
|||||||
api:
|
api:
|
||||||
# API endpoint of the registration tokens
|
# API endpoint of the registration tokens
|
||||||
base_url: {{ matrix_bot_matrix_registration_bot_api_base_url|to_json }}
|
base_url: {{ matrix_bot_matrix_registration_bot_api_base_url|to_json }}
|
||||||
# Access token of an administrator on the server
|
|
||||||
{% if matrix_bot_matrix_registration_bot_api_token | length > 0 %}
|
{% if matrix_bot_matrix_registration_bot_api_token | length > 0 %}
|
||||||
|
# Access token of an administrator on the server
|
||||||
token: {{ matrix_bot_matrix_registration_bot_api_token|to_json }}
|
token: {{ matrix_bot_matrix_registration_bot_api_token|to_json }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user