add manager logic
This commit is contained in:
11
ansible/roles/openldap_server/tasks/manager.yaml
Normal file
11
ansible/roles/openldap_server/tasks/manager.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: Set directory Manager DN and password
|
||||
community.general.ldap_attrs:
|
||||
dn: "{{ ldap_main_db_dn }}"
|
||||
attributes:
|
||||
olcRootDN: "{{ ldap_directory_manager_dn }}"
|
||||
olcRootPW: "{{ ldap_directory_manager_pw_hash }}"
|
||||
state: exact
|
||||
args:
|
||||
server_uri: ldapi:///
|
||||
bind_dn: cn=admin,cn=config
|
||||
sasl_class: external
|
||||
Reference in New Issue
Block a user