Files
ansible-bind9-role/templates/named.conf.trust-anchors.j2
Daniel Akulenok 8db883cba9 feat: Initialize BIND9 Ansible role
- Add complete role structure with templates
- Create comprehensive README documentation
- Set up Travis CI configuration
- Add meta information and default variables
2022-08-04 12:41:40 +02:00

13 lines
403 B
Django/Jinja

{% macro trust_anchors(trust_anchors) %}
trust-anchors {
{% filter indent(2, true) %}
{% for anchor in trust_anchors if trust_anchors is iterable %}
{{ (anchor.name | string) -}}
{{ (' ' + anchor.type) -}}
{{ (' ' + anchor.flags | string) -}}
{{ (' ' + anchor.protocol | string) -}}
{{ (' ' + anchor.algorithm | string) -}}
{{ (' "' + anchor.key + '"') -}};
{% endfor %}
{% endfilter %}};
{% endmacro %}