Commit 345671c6 authored by ale's avatar ale
Browse files

Fix typo

parent ec903b27
Pipeline #16767 passed with stages
in 6 minutes and 15 seconds
......@@ -28,7 +28,7 @@ allow_port tcp {{ port }} -j allow-cluster
{{ create_chain_from_host_group('allow-monitoring', services['prometheus'].group_name) }}
{% for network_name in net_overlays | map(attribute='name') if hostvars[inventory_hostname].get('ip_' + network_name) %}
{% for host in services['prometheus'].hosts | sort if hostvars[host].get('ip_' + network_name) %}
add_rule4 -A allow-monitoring -s {{ hostvars[host]['ip_' + net.name] }} -j ACCEPT
add_rule4 -A allow-monitoring -s {{ hostvars[host]['ip_' + network_name] }} -j ACCEPT
{% 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