feat: verification ldap schema

This commit is contained in:
2023-07-24 19:24:28 +00:00
parent 33237f001e
commit 135ac0aed6
3 changed files with 40 additions and 6 deletions

View File

@@ -43,6 +43,22 @@
state: started
enabled: yes
- name: LDAP master conf
template:
src: ldap.conf
dest: /etc/ldap/ldap.conf
owner: openldap
notify:
- restart slapd
- name: LDAP extra schemas
copy:
src: verification.schema
dest: /etc/ldap/schema/verification.schema
owner: openldap
notify:
- restart slapd
- meta: flush_handlers
- name: Wait for LDAP to become ready
@@ -51,12 +67,6 @@
timeout: 30
delay: 5
- name: LDAP (client) conf
template:
src: ldap.conf
dest: /etc/ldap/ldap.conf
owner: openldap
- name: Create LDAP root (1)
ldap_entry:
dn: "{{ ldap_suffix }}"