Move all of the role here
This commit is contained in:
10
templates/named.conf.statistics-channels.j2
Normal file
10
templates/named.conf.statistics-channels.j2
Normal file
@@ -0,0 +1,10 @@
|
||||
{% macro statistics_channels(statistics_channels) %}
|
||||
statistics-channels {
|
||||
{% filter indent(2, 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 %}
|
||||
Reference in New Issue
Block a user