Demacro some more

This commit is contained in:
Daniel Akulenok
2024-05-14 10:31:16 +02:00
parent 9ad0225582
commit 3c595f4879
3 changed files with 5 additions and 10 deletions

View File

@@ -9,12 +9,10 @@ options {
{% endif %}
{% if item.acl is defined and item.acl %}
{% from 'named.conf.acl.j2' import acl with context %}
{{ acl(item.acl) }}
{% include 'named.conf.acl.j2' %}
{% endif %}
{% if item.primaries is defined and item.primaries %}
{% from 'named.conf.primaries.j2' import primaries with context %}
{{ primaries(item.primaries) }}
{% include 'named.conf.primaries' %}
{% endif %}
{% if item.controls is defined and item.controls %}
{% from 'named.conf.controls.j2' import controls with context %}