demacro zone and view

This commit is contained in:
Daniel Akulenok
2024-05-14 14:36:54 +02:00
parent 73d8632c49
commit b6fa879b93
3 changed files with 5 additions and 10 deletions

View File

@@ -1,6 +1,5 @@
# Zones Macro
{% macro zones(zones) -%}
{% for zone in zones %}
{% for zone in item.zones %}
zone "{{ zone.name }}" {
{% filter indent(bind9_config_indent, true) %}
# Zone {{ zone.name }} type {{ zone.type }}
@@ -159,4 +158,3 @@ parental-source-v6 {{ zone.parental_source_v6.address -}}
};
{% endfor %}
{% endmacro %}