You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hi
I found how to create a new user in my Windows active directory with ansible, but we usually copy a, existing in order to add the group needed more easyly
Is there a similiare possibility to copy an existing user with all the specification and just modify first name and last name and password
Thanks
Nicolas
Dick Visser
unread,
Nov 6, 2020, 6:00:19 AM11/6/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
I have no idea what you current playbook looks like, and I have not
used ansible to manage Windows, so I am going to assume you are using
the win_domain_user module to create a user.
Looking at the docs, the 'state' parameter accepts a 'query' value:
- win_domain_user to query existing user, and register result
- set_fact to change only a few value in that data structure
- win_domain_user to create a new users with that data structure