make it work on debian12

This commit is contained in:
2025-05-13 13:54:40 +02:00
parent 2c8c7c8c73
commit 4b0312e471
8 changed files with 68 additions and 55 deletions

View File

@@ -1,19 +1,15 @@
---
- name: add synrepl entry
ldap_attr:
community.general.ldap_attrs:
dn: "{{ ldap_database }}"
name: "{{ item.name }}"
values: "{{ item.value }}"
loop:
- name: olcSyncRepl
value: |
attributes:
olcSyncRepl: |
rid=001
provider="{{ ldap_replication_provider_uri }}"
binddn="cn={{ ldap_replication_account }},{{ ldap_suffix }}"
binddn="{{ ldap_replication_account_dn }}"
bindmethod="simple"
credentials="{{ ldap_replication_password }}"
searchbase="{{ ldap_suffix }}"
type=refreshAndPersist
retry="10 +"
- name: olcUpdateRef
value: "{{ ldap_provider_uri }}"
olcUpdateRef: "{{ ldap_provider_uri }}"