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

14 lines
278 B
Django/Jinja

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