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,10 +1,10 @@
{% macro dnssec_policy(policies) %}
{% for policy in policies if policies is iterable %}
dnssec-policy "{{ policy.name }}" {
{% filter indent(2, true) %}
{% filter indent(bind9_config_indent, true) %}
{% if policy.keys is defined and policy.keys %}
keys {
{% filter indent(2, true) %}
{% filter indent(bind9_config_indent, true) %}
{% for dnskey in policy.keylist if policy.keylist is iterable %}
{{ dnskey.role -}}
{{ (' key-directory') if dnskey.key_directory is defined and dnskey.key_directory -}}