iptables: fix group name, it's proxies_internal not proxies-internal.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
ab3f501820
commit
e94fcbd825
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@
|
|||
# if there are any proxy-only tcp_ports - allow them
|
||||
{% if proxy_tcp_ports is defined %}
|
||||
{% for port in proxy_tcp_ports %}
|
||||
{% for proxy in (groups['proxies'] + groups['proxies-internal']) %}
|
||||
{% for proxy in (groups['proxies'] + groups['proxies_internal']) %}
|
||||
{% if hostvars[proxy]['datacenter'] == "phx2" %}
|
||||
-A INPUT -p tcp -m tcp --dport {{ port }} --src {{ hostvars[proxy]['ansible_eth0']['ipv4']['address'] }} -j ACCEPT
|
||||
{% else %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue