From 2541e4254d37d1dca4fa5840ad720e289e386169 Mon Sep 17 00:00:00 2001 From: s3lph Date: Fri, 5 Feb 2021 23:27:51 +0100 Subject: [PATCH] updaters dont need to be a remote --- 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 278f58d..323edb3 100644 --- a/roles/knot/templates/etc/knot/knot.conf.j2 +++ b/roles/knot/templates/etc/knot/knot.conf.j2 @@ -35,7 +35,7 @@ key: remote: -{% for remote in ( (zones | map(attribute='replicas') ) + (zones | map(attribute='masters') ) + (zones | map(attribute='updaters') | select('defined') ) ) | flatten | unique %} +{% for remote in ( (zones | map(attribute='replicas') ) + (zones | map(attribute='masters') ) ) | flatten | unique %} - id: remote-{{ remote }} {% for address in hostvars[remote].knot_dns_addresses %}