demacro zone and view
This commit is contained in:
@@ -54,10 +54,8 @@ options {
|
||||
{% include 'named.conf.trust-anchors.j2' %}
|
||||
{% endif %}
|
||||
{% if item.zones is defined and item.zones %}
|
||||
{% from 'named.conf.zone.j2' import zones with context %}
|
||||
{{ zones(item.zones) }}
|
||||
{% include 'named.conf.zone.j2' %}
|
||||
{% endif %}
|
||||
{% if item.view is defined and item.view %}
|
||||
{% from 'named.conf.view.j2' import view with context %}
|
||||
{{ view(item.view) }}
|
||||
{% include 'named.conf.view.j2' %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user