From 05eab6666c69031c0a766c6233ddb2c0a57393c2 Mon Sep 17 00:00:00 2001 From: s3lph Date: Sat, 6 Feb 2021 00:17:38 +0100 Subject: [PATCH] fix typo --- roles/knot/templates/etc/knot/knot.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/knot/templates/etc/knot/knot.conf.j2 b/roles/knot/templates/etc/knot/knot.conf.j2 index 7bdc712..59873b1 100644 --- a/roles/knot/templates/etc/knot/knot.conf.j2 +++ b/roles/knot/templates/etc/knot/knot.conf.j2 @@ -38,7 +38,7 @@ remote: {% for remote in ( (zones | map(attribute='replicas') ) + (zones | map(attribute='masters') ) ) | flatten | unique %} - id: remote-{{ remote }} -{% if knot_tsig_key is defined and 'knot_tsig_key' in hostvars[remote %} +{% if knot_tsig_key is defined and 'knot_tsig_key' in hostvars[remote] %} {# only use TSIG mutually, i.e. if both parties have a key #} key: {{ knot_tsig_key.name }} {% endif %}