role slapd:
- setup ssl (WIP) - setup replication provider (WIP) - setup replication consumer (WIP) ssl and replication provider seems to be ok (need to test on clean machine) replication consumer needs more testing
This commit is contained in:
19
tasks/replication_consumer.yml
Normal file
19
tasks/replication_consumer.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
- name: add synrepl entry
|
||||
ldap_attr:
|
||||
dn: olcDatabase={2}hdb,cn=config
|
||||
name: "{{ item.name }}"
|
||||
values: "{{ item.value }}"
|
||||
loop:
|
||||
- name: olcSyncRepl
|
||||
value: |
|
||||
rid=001
|
||||
provider="{{ ldap_replication_provider_uri }}"
|
||||
binddn="cn={{ ldap_replication_account }},{{ ldap_suffix }}"
|
||||
bindmethod="simple"
|
||||
credentials="{{ ldap_replication_password }}"
|
||||
searchbase="{{ ldap_suffix }}"
|
||||
type=refreshAndPersist
|
||||
retry="10 +"
|
||||
- name: olcUpdateRef
|
||||
value: "{{ ldap_provider_uri }}"
|
||||
Reference in New Issue
Block a user