Commit 7136b6e0 authored by ale's avatar ale

Fix small error in named.conf: net_overlays are dicts

parent 0d30d12b
Pipeline #6289 passed with stages
in 12 minutes and 30 seconds
......@@ -12,8 +12,8 @@ options {
127.0.0.1;
{% for h in groups['frontend'] | sort %}
{{ hostvars[h]['ip'] }};
{% for n in net_overlays | sort if ('ip_' + n) in hostvars[h] %}
{{ hostvars[h]['ip_' + n] }};
{% for n in net_overlays | sort if ('ip_' + n.name) in hostvars[h] %}
{{ hostvars[h]['ip_' + n.name] }};
{% endfor %}
{% endfor %}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment