-> community.general.ldap_attrs

This commit is contained in:
Denis Knauf 2023-10-20 00:46:08 +02:00
parent 115b625aa5
commit 704585859f

View file

@ -9,7 +9,7 @@
- python-ldap
- name: fix acl
ldap_attrs:
community.general.ldap_attrs:
name: olcAccess
dn: olcDatabase={1}mdb,cn=config
state: exact
@ -27,7 +27,7 @@
by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth write
by * read
- name: set crypto
ldap_attrs:
community.general.ldap_attrs:
dn: cn=config
name: "{{item.key}}"
state: exact
@ -37,7 +37,7 @@
olcPasswordCryptSaltFormat: "$6$rounds=8000$%.16s"
- name: set base DN
ldap_attrs:
community.general.ldap_attrs:
dn: 'olcDatabase={{"{"+(ldap_database_index|default(1)|string)+"}"}}mdb,cn=config'
name: "{{item.key}}"
state: exact