Files
ansible-bind9-role/templates/named.conf.statistics-channels.j2
Daniel Akulenok e538644617 Spacing
2024-05-15 11:04:46 +02:00

10 lines
432 B
Django/Jinja

statistics-channels {
{% filter indent(bind9_config_indent, true) %}
{% for channel in item.statistics_channels if item.statistics_channels is iterable %}
inet {{ channel.address | string }}
{{- (' port ' + channel.port | string) if channel.port is defined and channel.port -}}
{{- (' allow {\n' + functions.simple_item_list(channel.allow) + '};\n') if channel.allow is defined and channel.allow -}}
{% endfor %}
{% endfilter %}};