From 0482dd69e3fbd9bd414792001eeceec8ce402c8e Mon Sep 17 00:00:00 2001 From: s3lph Date: Thu, 30 Sep 2021 00:08:25 +0200 Subject: [PATCH] Bugfix 3 --- roles/knot/templates/etc/knot/knot.conf.j2 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/roles/knot/templates/etc/knot/knot.conf.j2 b/roles/knot/templates/etc/knot/knot.conf.j2 index 143a44d..49449e5 100644 --- a/roles/knot/templates/etc/knot/knot.conf.j2 +++ b/roles/knot/templates/etc/knot/knot.conf.j2 @@ -91,12 +91,7 @@ submission: check-interval: {{ knot_dnssec_submission_check_interval }} timeout: {{ knot_dnssec_submission_timeout }} {% if zone.parents is defined and zone.parents | length > 0 %} - parent: -{% for parent in zone.parents | default([]) %} - - {{ parent }} -{% endfor %} -{% else %} - parent: [] + parent:{% for parent in zone.parents %} {{ parent }}{% endfor %} {% endif %} {% endfor %}