Move all of the role here

This commit is contained in:
Daniel Akulenok
2022-08-04 12:41:40 +02:00
commit 20a43d06bd
29 changed files with 1886 additions and 0 deletions

View 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 %}