mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 02:48:33 +01:00
feat: verification ldap schema
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user