Init new ldap server role
This commit is contained in:
11
ansible/roles/openldap_server/tasks/config.yaml
Normal file
11
ansible/roles/openldap_server/tasks/config.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: Configure database suffix
|
||||
community.general.ldap_attrs:
|
||||
dn: olcDatabase={2}mdb,cn=config
|
||||
state: exact
|
||||
attributes:
|
||||
olcSuffix: "{{ ldap_basedn }}"
|
||||
olcRootDN: "{{ ldap_admin_dn }}"
|
||||
args:
|
||||
server_uri: ldapi:///
|
||||
sasl_mech: EXTERNAL
|
||||
|
||||
Reference in New Issue
Block a user