Hi Dan,
I ran into a lot of issues when trying to get Ansible to connect to my
remote Windows Server 2012 R2 VM. I finally got it working - maybe my
solutions will help you.
*A couple questions:*
1. Did you set up your Ansible Control Machine following the official
documentation to a te
Hi Joe,
Thanks for getting back to me I did both the items when I setup the control
server and windows client. Upon further investigation I can successfully
execute raw commands which shows the config is correct, it's just the
win_pin that fails for some reason so I presume I can't run modules
Hm, that's interesting. It doesn't make sense that raw commands work but
not the basic win_ping module. Yes, it does sound like it's something to do
with your module or pywinrm setup.
My main issue for connection was with kerberos, but that's because the user
I'm using to authenticate with is a
Someone else has posted something simliar as a bug report here
- https://github.com/ansible/ansible/issues/14085
Since both you and the bug reporter are experiencing a failure to create a
directory in the user's temp folder, I'm wondering if your users' temp
folder is actually present?
The com
I ran into this same problem with ansible 2.1.0.0, correctly configured
winrm and powershell. The solution was adding the powershell directory to
the PATH on the target machine. The ansible error messages have so far
never been related to the actual problem, which is kind of impressive.
On Mo