I need to make edits to HKEY_CURRENT_USER of a different user then the
ansible_user.
How do I do that?
Any edits I make with win_regmerge are made to the ansible_user's registry.
I tried become_method: runas with become_user: but that throws a warning
and error.
[WARNING]: The Windows 'runas' become method is experimental, and may
change significantly in future Ansible releases.
FAILED! => {"failed": true, "msg": "The 'runas' become method requires a
password (specify with the '-K' CLI arg or the 'ansible_become_password'
variable)"}
I come from a linux/unix background so I thought runas would be like sudo
would let me run the command as the become_user but I guess runas is a
little different.
Any help?
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/74996883-a02f-4d6e-afa2-3d1cbfeb1b8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.