{% if allow_users is defined %} {% for user in admin_users %} {{ user.name }} ALL=(ALL) NOPASSWD: ALL {% endfor %} {% endif %}