if empty, password is generated
This commit is contained in:
@@ -8,6 +8,15 @@
|
||||
tags: always
|
||||
when: binddn is not defined
|
||||
|
||||
- name: add ldap ou
|
||||
community.general.ldap_entry:
|
||||
dn: "ou={{ org }},{{ ldap_base }}"
|
||||
bind_dn: "{{ binddn }}"
|
||||
bind_pw: "{{ bindpwd }}"
|
||||
objectClass:
|
||||
- organizationalUnit
|
||||
- top
|
||||
|
||||
- name: read csv file
|
||||
community.general.read_csv:
|
||||
path: '{{ file|default( "account.csv" ) }}'
|
||||
@@ -18,3 +27,4 @@
|
||||
loop: "{{ users.list }}"
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user