ansible-lldap-role/templates/lldap-config.toml.j2

14 lines
249 B
Plaintext
Raw Normal View History

2023-04-19 16:45:51 +02:00
{{ ansible_managed | comment }}
2023-04-19 17:22:32 +02:00
{% for key, value in lldap_config %}
2023-04-19 16:45:51 +02:00
{% if value is string %}
{{ key }}={{ value }}
{% else %}
[{{ key }}]
{% for entry, entry_value in value %}
{{ entry }} = {{ entry_value }}
{% endfor %}
{% endif %}
{% endfor %}