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

14 lines
278 B
Plaintext
Raw Normal View History

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