password can be generated
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
firstname: "{{ item.firstname }}"
|
firstname: "{{ item.firstname }}"
|
||||||
lastname: "{{ item.lastname }}"
|
lastname: "{{ item.lastname }}"
|
||||||
email: "{{ item.email }}"
|
email: "{{ item.email }}"
|
||||||
password: "{{ item.password }}"
|
password: "{{ (item.password=='')| ternary(lookup('community.general.random_string', min_lower=1, min_upper=1, min_special=1, min_numeric=1, length=14), item.password ) }}"
|
||||||
community.general.ldap_entry:
|
community.general.ldap_entry:
|
||||||
bind_dn: "{{ binddn }}"
|
bind_dn: "{{ binddn }}"
|
||||||
bind_pw: "{{ bindpwd }}"
|
bind_pw: "{{ bindpwd }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user