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
This commit is contained in:
Daniel Akulenok
2022-08-19 22:01:36 +02:00
committed by Daniel Akulenok
parent 8de3b75eec
commit 71abdaa2e4
18 changed files with 30 additions and 29 deletions

View File

@@ -1,7 +1,7 @@
{% macro tls(tlss) %}
{% for tls in tlss if tlss is iterable %}
tls {{ tls.name }} {
{% filter indent(2, true) %}
{% filter indent(bind9_config_indent, true) %}
{{ ('cert-file "' + tls.cert_file + '";\n') if tls.cert_file is defined and tls.cert_file -}}
{{ ('key-file "' + tls.key_file + '";\n') if tls.key_file is defined and tls.key_file -}}
{{ ('dhparam-file "' + tls.dhparam_file + '";\n') if tls.dhparam_file is defined and tls.dhparam_file -}}