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