Hi,
i want to create some new User with Ansible and Shell (univention-directory-manager) modules, now i’m able to do something like this:
shell: "univention-directory-manager users/user create --position 'cn={{ basic_groups[1] }},ou={{ company_group }},dc=cloud,dc=local' \
--set username='{{ item.username}}' \
--set firstname='{{ item.firstname }}' \
--set lastname='{{ item.lastname }}' \
--set organisation='{{ company_group }}' \
--set mailPrimaryAddress='{{ item.email }}' \
--set password='{{ random_password }}' --ignore_exists"
I think it’s a good idea to create a new user without a password and send him a Sel-Service email as described here: https://www.univention.com/blog-en/2019/04/ucs-4-4-self-services-new-features/
So but my question is, how can i do the same with shell / CLI ?
Thanks