From 343c576ff08ef183deb523b45682f7332e2dba48 Mon Sep 17 00:00:00 2001 From: s3lph Date: Fri, 20 Nov 2020 01:11:02 +0100 Subject: [PATCH] Fix knot syntax erros --- roles/master/templates/etc/knot/knot.conf.j2 | 2 +- roles/master/templates/etc/knot/knot.d/10-master.conf.j2 | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/roles/master/templates/etc/knot/knot.conf.j2 b/roles/master/templates/etc/knot/knot.conf.j2 index b8e8983..1c02956 100644 --- a/roles/master/templates/etc/knot/knot.conf.j2 +++ b/roles/master/templates/etc/knot/knot.conf.j2 @@ -2,4 +2,4 @@ # See knot.conf(5) or refer to the server documentation. -include: /etc/knot/knot.d/*conf +include: /etc/knot/knot.d/*.conf diff --git a/roles/master/templates/etc/knot/knot.d/10-master.conf.j2 b/roles/master/templates/etc/knot/knot.d/10-master.conf.j2 index c2a3f1f..2df82d1 100644 --- a/roles/master/templates/etc/knot/knot.d/10-master.conf.j2 +++ b/roles/master/templates/etc/knot/knot.d/10-master.conf.j2 @@ -7,9 +7,8 @@ acl: - id: xfr-{{ name }} action: transfer - address: {% for replica in replicas %} - - "{{ replica }}" + address: "{{ replica }}" {% endfor %} remote: @@ -30,13 +29,12 @@ policy: template: - id: {{ name }} storage: {{ knot_zone_storage_path }} - semantic_checks: {{ knot_zone_semantic_checks }} + semantic-checks: {{ knot_zone_semantic_checks }} dnssec-signing: {{ knot_zone_dnssec_signing }} dnssec-policy: dnssec-{{ name }} acl: xfr-{{ name }} - notify: {% for replica in replicas %} - - remote-{{ name }}-{{ loop.index0 }} + notify: remote-{{ name }}-{{ loop.index0 }} {% endfor %} zone: