use to_nice_yaml
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2019-01-21 21:06:06 +01:00
parent f44b8a163c
commit b183e5aa34
1 changed files with 4 additions and 3 deletions

View File

@ -121,7 +121,8 @@ use_presence: true
listeners:
# Main HTTPS listener
- port: {{ matrix_https_bind_port }}
bind_addresses: [{{ matrix_https_bind_ips | wrap | join(',') }}]
bind_addresses:
{{ matrix_https_bind_ips | to_nice_yaml(indent=2) }}
type: http
tls: true
x_forwarded: false
@ -323,7 +324,7 @@ url_preview_enabled: {% 'True' if matrix_url_preview_enabled else 'False' %}
{% if matrix_url_preview_ip_blacklist is defined %}
url_preview_ip_range_blacklist:
{{ matrix_url_preview_ip_blacklist | to_nice_yaml }}
{{ matrix_url_preview_ip_blacklist | to_nice_yaml(indent=8) }}
{% endif %}
# List of IP address CIDR ranges that the URL preview spider is allowed
@ -337,7 +338,7 @@ url_preview_ip_range_blacklist:
{% if matrix_url_preview_url_blacklist is defined %}
url_preview_url_blacklist:
{{ matrix_url_preview_url_blacklist | to_nice_yaml }}
{{ matrix_url_preview_url_blacklist | to_nice_yaml(indent=2) }}
{% endif %}
# The largest allowed URL preview spidering size in bytes