refactor: Remove macro dependencies from DLZ template

This commit is contained in:
Daniel Akulenok
2024-05-14 13:44:21 +02:00
committed by Daniel Akulenok
parent b67ae1184f
commit 530c0a2bd5
2 changed files with 2 additions and 5 deletions

View File

@@ -21,8 +21,7 @@ options {
{% include 'named.conf.include.j2' %}
{% endif %}
{% if item.dlz is defined and item.dlz %}
{% from 'named.conf.dlz.j2' import dlz with context %}
{{ dlz(item.dlz) }}
{% include 'named.conf.dlz.j2' %}
{% endif %}
{% if item.dnssec_policy is defined and item.dnssec_policy %}
{% from 'named.conf.dnssec-policy.j2' import dnssec_policy with context %}