olcDatabase index must be a string in {}.
This commit is contained in:
parent
0113277fd1
commit
9d6678f901
|
@ -38,7 +38,7 @@
|
|||
|
||||
- name: set base DN
|
||||
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}}"
|
||||
state: exact
|
||||
values: "{{item.value}}"
|
||||
|
|
Loading…
Reference in a new issue