{% if ssh_ansible_authorized_ips is defined %} {% for ip in ssh_ansible_authorized_ips %} Match Address {{ ip }} AllowUsers ansible {% endfor %} {% endif %}