From db202e39fec612840f7212f3f92b88d3730ca7e3 Mon Sep 17 00:00:00 2001 From: s3lph Date: Sat, 16 Jan 2021 03:36:01 +0100 Subject: [PATCH] Spacing for readability --- roles/knot/templates/etc/knot/knot.conf.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/knot/templates/etc/knot/knot.conf.j2 b/roles/knot/templates/etc/knot/knot.conf.j2 index 104f247..42584da 100644 --- a/roles/knot/templates/etc/knot/knot.conf.j2 +++ b/roles/knot/templates/etc/knot/knot.conf.j2 @@ -11,6 +11,7 @@ server: log: {% for target in knot_log_targets %} + - target: "{{ target.target }}" any: "{{ target.level }}" {% endfor %} @@ -22,6 +23,7 @@ log: remote: {% for remote in ( (zones | map(attribute='replicas') ) + (zones | map(attribute='masters') ) ) | flatten | unique %} + - id: remote-{{ remote }} {% for address in hostvars[remote].knot_dns_addresses %} address: "{{ address }}" @@ -30,6 +32,7 @@ remote: acl: {% for remote in ( (zones | map(attribute='replicas') ) + (zones | map(attribute='masters') ) ) | flatten | unique %} + - id: acl-xfr-{{ remote }} action: transfer {% for address in hostvars[remote].knot_dns_addresses %} @@ -44,6 +47,7 @@ acl: policy: {% for zone in zones %} {% if inventory_hostname in zone.masters %} + - id: dnssec-{{ zone.name }} algorithm: {{ knot_dnssec_policy_algorithm }} nsec3: {{ knot_dnssec_policy_nsec3 }} @@ -57,6 +61,7 @@ policy: zone: {% for zone in zones %} {% if inventory_hostname in zone.masters %} + - domain: {{ zone.name }} storage: {{ knot_zone_master_storage_path }} semantic-checks: {{ knot_zone_semantic_checks }} @@ -81,6 +86,7 @@ zone: zone: {% for zone in zones %} {% if inventory_hostname in zone.replicas %} + - domain: {{ zone.name }} storage: {{ knot_zone_replica_storage_path }} serial-policy: unixtime