The following is necessary for Python 2.7.9+ (or any older Python that has backported SSLContext, eg, Python 2.7.5 on RHEL7) when using default WinRM self-signed certificates:
ansible_winrm_server_cert_validation: ignore
i am able to ping/telnet to the windows host from ansible master.
Has this issue been resolved for you? I am running into a similar issue against Windows 2008r2. My Ansible version is 2.3.0.0
I’m not seeing this kind of error against vm(s) spun-up off of a 2012r2 image. Everything works fine on a 2012r2 target host.
FYI, Winrm is configured, updated the powershell version to 4.0 too…
Anybody has any fix / workaround to get past this issue? Any help would be appreciated… Thanks in advance…
"On Windows 7 and Server 2008 R2 machines, due to a bug in Windows Management Framework 3.0, it may be necessary to install this hotfix http://support.microsoft.com/kb/2842230 to avoid receiving out of memory and stack overflow exceptions. Newly-installed Server 2008 R2 systems which are not fully up to date with windows updates are known to have this issue.
Windows 8.1 and Server 2012 R2 are not affected by this issue as they come with Windows Management Framework 4.0."