Hello,
Is it possible to use a non-administrator user to run Ansible against
Windows hosts and if yes, how?
I've used ``invoke-command -computername localhost -credential ansible
-scriptblock {$env:computername}`` to test inside Powershell, which works
fine only if the Ansible user is Administrator.
What did not help it:
* Add user to Windows Remote management group
* Add user to Windows Remote management and WinRMRemoteWMIUsers__ group
Test target is this SRV2012R2 vagrant box:
https://atlas.hashicorp.com/mwrock/boxes/Windows2012R2
Regards
Avaro Aleman
--
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/cbb799b6-4e52-4023-b2f5-d071d7f41bbe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.