refactor: Remove macro usage from HTTP configuration template

This commit is contained in:
Daniel Akulenok
2024-05-14 13:47:59 +02:00
parent f6bad45074
commit 4bb9d67cd5
2 changed files with 2 additions and 5 deletions

View File

@@ -30,8 +30,7 @@ options {
{% include 'named.conf.dyndb.j2' %}
{% endif %}
{% if item.http is defined and item.http %}
{% from 'named.conf.http.j2' import http with context %}
{{ http(item.http) }}
{% include 'named.conf.http.j2' %}
{% endif %}
{% if item.keylist is defined and item.keylist %}
{% from 'named.conf.key.j2' import keylist with context %}