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

17 lines
664 B
Django/Jinja

{% for http in item.http if item.http is iterable %}
http {{ http.name }} {
{% filter indent(bind9_config_indent, true) %}
{% if http.endpoints is defined and http.endpoints %}
endpoints {
{% filter indent(bind9_config_indent, true) %}
{% for endpoint in http.endpoints %}
{{ '"' + endpoint + '";' }}
{% endfor %}
{% endfilter %}};
{% endif%}
{{ ('listener-clients ' + http.listener_clients | string + ';\n') if http.listener_clients is defined and http.listener_clients -}}
{{ ('streams-per-connection ' + http.streams_per_connection | string + ';\n') if http.streams_per_connection is defined and http.streams_per_connection -}}
{% endfilter %}};
{% endfor %}