# {{ ansible_managed }} {% for item in apt_preferences %} Package: {{ item.package }} Pin: {{ item.pin }} Pin-Priority: {{ item.priority }} {% if not loop.last %} {% endif %} {% endfor %}