ansible-role-sso/templates/shibboleth-attribute-map.inc.xml.j2

8 lines
393 B
Django/Jinja

<!-- {{ ansible_managed }} -->
{% for item in saml_attributes %}
<Attribute {% for key,value in item.items() %}{% if value is not mapping %}{{ key }}="{{ value }}" {% endif %}{% endfor %}>
{% if item.attributeDecoder is defined %}
<AttributeDecoder {% for key,value in item.attributeDecoder.items() %}{{ key }}="{{ value }}" {% endfor %}/>
{% endif %}
</Attribute>
{% endfor %}