--- {%- from "users/map.jinja" import groups with context -%} {%- for group in groups %} group-{{ group.name }}: {%- if group.enabled %} group.present: {%- else %} group.absent: {%- endif %} - name: {{ group.name }} {% endfor %}