mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-17 20:54:57 +00:00
Update roles/custom/matrix-bridge-hookshot/templates/config.yml.j2
change the if statement to not require a variable with a length > 0 and add a filter to json for the redis host Co-authored-by: Slavi Pantaleev <slavi@devture.com>
This commit is contained in:
parent
66706e4535
commit
06047763bb
@ -107,11 +107,11 @@ metrics:
|
||||
# (Optional) Prometheus metrics support
|
||||
#
|
||||
enabled: {{ matrix_hookshot_metrics_enabled | to_json }}
|
||||
{% if matrix_hookshot_queue_host is defined and matrix_hookshot_queue_host|d('')|length > 0 %} %}
|
||||
{% if matrix_hookshot_queue_host != '' %}
|
||||
queue:
|
||||
monolithic: true
|
||||
port: {{ matrix_hookshot_queue_port | default('6379') }}
|
||||
host: {{ matrix_hookshot_queue_host }}
|
||||
port: {{ matrix_hookshot_queue_port }}
|
||||
host: {{ matrix_hookshot_queue_host | to_json }}
|
||||
{% endif %}
|
||||
{% if matrix_hookshot_experimental_encryption_enabled %}
|
||||
experimentalEncryption:
|
||||
|
Loading…
Reference in New Issue
Block a user