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