9 lines
317 B
Django/Jinja
9 lines
317 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
# Allow InfluxDB Replication only from IPs:
|
|
iptables -N influx-in
|
|
{% for ip in firewall_influx_acl|default([]) + firewall_influx_acl_extra|default([]) %}
|
|
iptables -A influx-in -s {{ ip }} -j ACCEPT
|
|
{% endfor %}
|
|
iptables -A INPUT -p tcp --dport 8086 -m comment --comment "influx" -j influx-in
|