# {{ ansible_managed }} {% if firewall_whitelist_ip %} # Whitelist IPs {% for ip in firewall_whitelist_ip %} iptables -A INPUT -s {{ ip }} -m comment --comment "whitelist" -j ACCEPT {% endfor %} {% endif %}