Fix knot syntax erros

This commit is contained in:
s3lph 2020-11-20 01:11:02 +01:00
parent 88fb581770
commit 343c576ff0
2 changed files with 4 additions and 6 deletions

View file

@ -2,4 +2,4 @@
# See knot.conf(5) or refer to the server documentation. # See knot.conf(5) or refer to the server documentation.
include: /etc/knot/knot.d/*conf include: /etc/knot/knot.d/*.conf

View file

@ -7,9 +7,8 @@
acl: acl:
- id: xfr-{{ name }} - id: xfr-{{ name }}
action: transfer action: transfer
address:
{% for replica in replicas %} {% for replica in replicas %}
- "{{ replica }}" address: "{{ replica }}"
{% endfor %} {% endfor %}
remote: remote:
@ -30,13 +29,12 @@ policy:
template: template:
- id: {{ name }} - id: {{ name }}
storage: {{ knot_zone_storage_path }} storage: {{ knot_zone_storage_path }}
semantic_checks: {{ knot_zone_semantic_checks }} semantic-checks: {{ knot_zone_semantic_checks }}
dnssec-signing: {{ knot_zone_dnssec_signing }} dnssec-signing: {{ knot_zone_dnssec_signing }}
dnssec-policy: dnssec-{{ name }} dnssec-policy: dnssec-{{ name }}
acl: xfr-{{ name }} acl: xfr-{{ name }}
notify:
{% for replica in replicas %} {% for replica in replicas %}
- remote-{{ name }}-{{ loop.index0 }} notify: remote-{{ name }}-{{ loop.index0 }}
{% endfor %} {% endfor %}
zone: zone: