why this works for 90 hosts but not this one I do not know

This commit is contained in:
Stephen Smoogen 2020-04-09 18:12:33 +00:00 committed by Pierre-Yves Chibon
parent 3800b05f64
commit 05e9125c67

View file

@ -106,7 +106,7 @@
-A INPUT -p tcp -m tcp --dport {{ port }} --src {{ hostvars[proxy]['ansible_tun0']['ipv4']['address'] }} -j ACCEPT
{% endfor %}
# nagios
-A INPUT -p tcp -m tcp --dport {{ port }} --src {{ hostvars['noc01.phx2.fedoraproject.org']['ansible_eth0']['ipv4']['address'] }} -j ACCEPT
-A INPUT -p tcp -m tcp --dport {{ port }} --src 10.5.126.41 -j ACCEPT
{% endfor %}
{% endif %}