olcDatabase index must be a string in {}.

This commit is contained in:
Denis Knauf 2020-11-08 00:06:10 +01:00
parent 0113277fd1
commit 9d6678f901

View file

@ -38,7 +38,7 @@
- name: set base DN - name: set base DN
ldap_attr: ldap_attr:
dn: 'olcDatabase=\{{{ldap_database_index|default(1)}}\}mdb,cn=config' dn: 'olcDatabase={{"{"+(ldap_database_index|default(1)|string)+"}"}}mdb,cn=config'
name: "{{item.key}}" name: "{{item.key}}"
state: exact state: exact
values: "{{item.value}}" values: "{{item.value}}"