Spacing for readability

This commit is contained in:
s3lph 2021-01-16 03:36:01 +01:00
parent 486b0d1bed
commit db202e39fe

View file

@ -11,6 +11,7 @@ server:
log: log:
{% for target in knot_log_targets %} {% for target in knot_log_targets %}
- target: "{{ target.target }}" - target: "{{ target.target }}"
any: "{{ target.level }}" any: "{{ target.level }}"
{% endfor %} {% endfor %}
@ -22,6 +23,7 @@ log:
remote: remote:
{% for remote in ( (zones | map(attribute='replicas') ) + (zones | map(attribute='masters') ) ) | flatten | unique %} {% for remote in ( (zones | map(attribute='replicas') ) + (zones | map(attribute='masters') ) ) | flatten | unique %}
- id: remote-{{ remote }} - id: remote-{{ remote }}
{% for address in hostvars[remote].knot_dns_addresses %} {% for address in hostvars[remote].knot_dns_addresses %}
address: "{{ address }}" address: "{{ address }}"
@ -30,6 +32,7 @@ remote:
acl: acl:
{% for remote in ( (zones | map(attribute='replicas') ) + (zones | map(attribute='masters') ) ) | flatten | unique %} {% for remote in ( (zones | map(attribute='replicas') ) + (zones | map(attribute='masters') ) ) | flatten | unique %}
- id: acl-xfr-{{ remote }} - id: acl-xfr-{{ remote }}
action: transfer action: transfer
{% for address in hostvars[remote].knot_dns_addresses %} {% for address in hostvars[remote].knot_dns_addresses %}
@ -44,6 +47,7 @@ acl:
policy: policy:
{% for zone in zones %} {% for zone in zones %}
{% if inventory_hostname in zone.masters %} {% if inventory_hostname in zone.masters %}
- id: dnssec-{{ zone.name }} - id: dnssec-{{ zone.name }}
algorithm: {{ knot_dnssec_policy_algorithm }} algorithm: {{ knot_dnssec_policy_algorithm }}
nsec3: {{ knot_dnssec_policy_nsec3 }} nsec3: {{ knot_dnssec_policy_nsec3 }}
@ -57,6 +61,7 @@ policy:
zone: zone:
{% for zone in zones %} {% for zone in zones %}
{% if inventory_hostname in zone.masters %} {% if inventory_hostname in zone.masters %}
- domain: {{ zone.name }} - domain: {{ zone.name }}
storage: {{ knot_zone_master_storage_path }} storage: {{ knot_zone_master_storage_path }}
semantic-checks: {{ knot_zone_semantic_checks }} semantic-checks: {{ knot_zone_semantic_checks }}
@ -81,6 +86,7 @@ zone:
zone: zone:
{% for zone in zones %} {% for zone in zones %}
{% if inventory_hostname in zone.replicas %} {% if inventory_hostname in zone.replicas %}
- domain: {{ zone.name }} - domain: {{ zone.name }}
storage: {{ knot_zone_replica_storage_path }} storage: {{ knot_zone_replica_storage_path }}
serial-policy: unixtime serial-policy: unixtime