no more org in csv
This commit is contained in:
@@ -4,13 +4,14 @@
|
||||
firstname: "{{ item.firstname }}"
|
||||
lastname: "{{ item.lastname }}"
|
||||
email: "{{ item.email }}"
|
||||
dn: "uid={{ item.firstname |lower }}, ou={{ org }},{{ ldap_base }}"
|
||||
password: "{{ (item.password=='')| ternary(lookup('community.general.random_string', min_lower=1, min_upper=1, special=false,min_numeric=1, length=14), item.password ) }}"
|
||||
|
||||
- name: "add ldap account {{ item.firstname }}"
|
||||
- name: "add ldap account {{dn }}"
|
||||
community.general.ldap_entry:
|
||||
bind_dn: "{{ binddn }}"
|
||||
bind_pw: "{{ bindpwd }}"
|
||||
dn: "uid={{ firstname |lower }}, ou={{ org }},{{ ldap_base }}"
|
||||
dn: "{{ dn }} "
|
||||
state: present
|
||||
objectClass:
|
||||
- inetorgperson
|
||||
|
||||
Reference in New Issue
Block a user