generated from sebclem/ansible-role-template
Fix config template
This commit is contained in:
parent
686a3495f6
commit
27717bcceb
@ -1,13 +1,13 @@
|
||||
{{ ansible_managed | comment }}
|
||||
|
||||
{% for key, value in lldap_config %}
|
||||
{% if value is string %}
|
||||
{{ key }}={{ value }}
|
||||
{% for key in lldap_config %}
|
||||
{% if lldap_config[key] is string %}
|
||||
{{ key }}={{ lldap_config[key] }}
|
||||
{% else %}
|
||||
|
||||
[{{ key }}]
|
||||
{% for entry, entry_value in value %}
|
||||
{{ entry }} = {{ entry_value }}
|
||||
{% for entry in lldap_config[key] %}
|
||||
{{ entry }} = {{ lldap_config[key][entry] }}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user