ansible-lldap-role/templates/lldap-config.toml.j2
2023-04-19 17:22:32 +02:00

14 lines
249 B
Django/Jinja

{{ ansible_managed | comment }}
{% for key, value in lldap_config %}
{% if value is string %}
{{ key }}={{ value }}
{% else %}
[{{ key }}]
{% for entry, entry_value in value %}
{{ entry }} = {{ entry_value }}
{% endfor %}
{% endif %}
{% endfor %}