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 view(views) %}
{% for view in views if views is iterable %}
view {{ view.name }} {
{% filter indent(2, true) %}
{% filter indent(bind9_config_indent, true) %}
{{ ('match-recursive-only ' + functions.named_boolean(view.match_recursive_only) + ';\n') if view.match_recursive_only is defined -}}
{{ ('match-clients {\n' + functions.simple_item_list(view.match_clients) + '};\n') if view.match_clients is defined and view.match_clients -}}
{{ ('match-destinations {\n' + functions.simple_item_list(view.match_destinations) + '};\n') if view.match_destinations is defined and view.match_destinations -}}