ansible-lldap-role/templates/lldap-config.toml.j2
2023-04-19 17:32:33 +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 in lldap_config[key] %}
{{ entry }} = {{ lldap_config[key][entry] }}
{% endfor %}
{% endif %}
{% endfor %}