Move all of the role here
This commit is contained in:
10
templates/named.conf.parental-agents.j2
Normal file
10
templates/named.conf.parental-agents.j2
Normal file
@@ -0,0 +1,10 @@
|
||||
{% macro parental_agents(parental_agents) %}
|
||||
{% for agent in parental_agents if parental_agents is iterable %}
|
||||
parental-agents {{ agent.name -}}
|
||||
{{ (' port ' + agent.port | string) if agent.port is defined and agent.port -}}
|
||||
{{ (' dscp ' + agent.dscp | string) if agent.dscp is defined and agent.dscp }} {
|
||||
{% filter indent(2, true) %}
|
||||
{{ functions.list_address_port_key_tls(agent.addresses) -}}
|
||||
{% endfilter %}};
|
||||
{% endfor %}
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user