Files
ansible-bind9-role/templates/named.conf.statistics-channels.j2
Daniel Akulenok 71abdaa2e4 style: Standardize indentation across all templates
- Update indentation in controls, DLZ, and DNSSEC policy templates
- Normalize spacing in options and logging templates
- Ensure consistent formatting throughout role
2026-01-27 23:18:40 +01:00

10 lines
488 B
Django/Jinja

{% macro statistics_channels(statistics_channels) %}
statistics-channels {
{% filter indent(bind9_config_indent, true) %}
{% for channel in statistics_channels if 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 %}};
{% endmacro %}