update slapd.ldif entries for initializing servicE
This commit is contained in:
@@ -48,6 +48,18 @@
|
|||||||
force: false
|
force: false
|
||||||
remote_src: true
|
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
|
#- name: Start and enable slapd
|
||||||
# service:
|
# service:
|
||||||
# name: slapd
|
# name: slapd
|
||||||
|
|||||||
Reference in New Issue
Block a user