try to figure out if this will fix the error
This commit is contained in:
parent
0f1e51b865
commit
264360cac8
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@
|
|||
{% if proxy_tcp_ports is defined %}
|
||||
{% for port in proxy_tcp_ports %}
|
||||
{% for proxy in (groups['proxies'] + groups['proxies_internal']) %}
|
||||
{% if hostvars[proxy]['datacenter'] == "phx2" %}
|
||||
{% if hostvars[proxy].datacenter == 'phx2' %}
|
||||
-A INPUT -p tcp -m tcp --dport {{ port }} --src {{ hostvars[proxy]['ansible_eth0']['ipv4']['address'] }} -j ACCEPT
|
||||
{% else %}
|
||||
-A INPUT -p tcp -m tcp --dport {{ port }} --src {{ hostvars[proxy]['ansible_tun0']['ipv4']['address'] }} -j ACCEPT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue