updaters dont need to be a remote

This commit is contained in:
s3lph 2021-02-05 23:27:51 +01:00
parent 9cbf45e958
commit 2541e4254d

View file

@ -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 %}