Files
ansible-bind9-role/templates/named.conf.parental-agents.j2
Daniel Akulenok 52d5fa2d3f Demacro
2024-05-14 14:12:19 +02:00

8 lines
347 B
Django/Jinja

{% for agent in item.parental_agents if item.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 }} {
{{ functions.list_address_port_key_tls(agent.addresses) -}}};
{% endfor %}