{% import 'named.conf.functions.j2' as functions %} {{ ansible_managed | comment }} {% if item.options is defined and item.options %} {% from 'named.conf.options.j2' import options with context %} options { {% filter indent(2,true)%} {{ options(item.options) -}} {% endfilter %} }; {% endif %} {% if item.acl is defined and item.acl %} {% from 'named.conf.acl.j2' import acl with context %} {{ acl(item.acl) }} {% endif %} {% if item.primaries is defined and item.primaries %} {% from 'named.conf.primaries.j2' import primaries with context %} {{ primaries(item.primaries) }} {% endif %} {% if item.controls is defined and item.controls %} {% from 'named.conf.controls.j2' import controls with context %} {{ controls(item.controls) }} {% endif %} {% if item.include is defined and item.include %} {% from 'named.conf.include.j2' import include with context %} {{ include(item.include) }} {% endif %} {% if item.dlz is defined and item.dlz %} {% from 'named.conf.dlz.j2' import dlz with context %} {{ dlz(item.dlz) }} {% endif %} {% if item.dnssec_policy is defined and item.dnssec_policy %} {% from 'named.conf.dnssec-policy.j2' import dnssec_policy with context %} {{ dnssec_policy(item.dnssec_policy) }} {% endif %} {% if item.dyndb is defined and item.dyndb %} {% from 'named.conf.dyndb.j2' import dyndb with context %} {{ dyndb(item.dyndb) }} {% endif %} {% if item.http is defined and item.http %} {% from 'named.conf.http.j2' import http with context %} {{ http(item.http) }} {% endif %} {% if item.keylist is defined and item.keylist %} {% from 'named.conf.key.j2' import keylist with context %} {{ keylist(item.keylist) }} {% endif %} {% if item.logging is defined and item.logging %} {% from 'named.conf.logging.j2' import logging with context %} {{ logging(item.logging) }} {% endif %} {% if item.parental_agents is defined and item.parental_agents %} {% from 'named.conf.parental-agents.j2' import parental_agents with context %} {{ parental_agents(item.parental_agents) }} {% endif %} {% if item.server is defined and item.server %} {% from 'named.conf.server.j2' import server with context %} {{ server(item.server) }} {% endif %} {% if item.statistics_channels is defined and item.statistics_channels %} {% from 'named.conf.statistics-channels.j2' import statistics_channels with context %} {{ statistics_channels(item.statistics_channels) }} {% endif %} {% if item.tls is defined and item.tls %} {% from 'named.conf.tls.j2' import tls with context %} {{ tls(item.tls) }} {% endif %} {% if item.trust_anchors is defined and item.trust_anchors %} {% from 'named.conf.trust-anchors.j2' import trust_anchors with context %} {{ trust_anchors(item.trust_anchors) }} {% endif %} {% if item.zones is defined and item.zones %} {% from 'named.conf.zone.j2' import zones with context %} {{ zones(item.zones) }} {% endif %} {% if item.view is defined and item.view %} {% from 'named.conf.view.j2' import view with context %} {{ view(item.view) }} {% endif %}