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,11 +1,11 @@
{% macro simple_item_list(item_list, indent=2) %}
{% macro simple_item_list(item_list, indent=bind9_config_indent) %}
{# This macro is for use in simple address lists #}
{% filter indent(indent, true) %}
{{ item_list | join(';\n') }};
{% endfilter %}
{% endmacro %}
{% macro list_address_port_key_tls(dict, indent=2) %}
{% macro list_address_port_key_tls(dict, indent=bind9_config_indent) %}
{% filter indent(indent, true) %}
{% for item in dict %}
{% if item is not mapping %}
@@ -35,7 +35,7 @@
{% endif %}
{% endmacro %}
{% macro list_address_port_dscp(dict, indent=2) %}
{% macro list_address_port_dscp(dict, indent=bind9_config_indent) %}
{# This macro is for use for statements with grammar like #}
{# address port 00 dscp 00; address port 00 dscp 00; #}
{# it is usually called by a parent macro #}