Files
ansible-bind9-role/templates/named.conf.key.j2
Daniel Akulenok 71abdaa2e4 style: Standardize indentation across all templates
- Update indentation in controls, DLZ, and DNSSEC policy templates
- Normalize spacing in options and logging templates
- Ensure consistent formatting throughout role
2026-01-27 23:18:40 +01:00

9 lines
399 B
Django/Jinja

{% macro keylist(keylists) %}
{% for keyname in keylists if keylists is iterable %}
key {{ keyname.name }} {
{% filter indent(bind9_config_indent, true) %}
{{ ('algorithm ' + keyname.algorithm + ';\n') if keyname.algorithm is defined and keyname.algorithm -}}
{{ ('secret "' + keyname.secret + '";\n') if keyname.secret is defined and keyname.secret -}}
{% endfilter %}};
{% endfor %}
{% endmacro %}