update slapd.ldif entries for initializing servicE

This commit is contained in:
2026-01-22 20:42:19 -07:00
parent fc3e2ef779
commit 3faf02990f

View File

@@ -48,6 +48,18 @@
force: false
remote_src: true
- name: Set olcSuffix for domain
lineinfile:
path: /etc/openldap/ldifs/slapd.ldif
regexp: '^olcSuffix:'
line: 'olcSuffix: dc=ldap,dc=home,dc=jthan,dc=io'
- name: Set olcRootDN
lineinfile:
path: /etc/openldap/ldifs/slapd.ldif
regexp: '^olcRootDN:'
line: 'olcRootDN: cn=Manager, dc=ldap,dc=home,dc=jthan,dc=io'
#- name: Start and enable slapd
# service:
# name: slapd