I have a Windows 7 Enterprise VM that I cannot get to function with Ansible 
2.0

Control Server: Centos 7
Ansible Version: ansible 2.0.1.0 and previously 1.9.4

I have followed the setup guide, run the Prep-Script on Windows, verified 
that WinRM is functional

When running: ansible windows -m setup -vvvv I get the following:

Loaded callback minimal of type stdout, v2.0
<192.168.2.191> ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT 
5986 TO 192.168.2.191
<192.168.2.191> EXEC Set-StrictMode -Version Latest
(New-Item -Type Directory -Path $env:temp -Name 
"ansible-tmp-1456880843.77-137909747715611").FullName | Write-Host 
-Separator '';
192.168.2.191 | UNREACHABLE! => {
    "changed": false,
    "msg": "Authentication or permission failure. In some cases, you may 
have been able to authenticate and did not have permissions on the remote 
directory. Consider changing the remote temp path in ansible.cfg to a path 
rooted in \"/tmp\". Failed command was: PowerShell -NoProfile 
-NonInteractive -ExecutionPolicy Unrestricted -EncodedCommand 
UwBlAHQALQBTAHQAcgBpAGMAdABNAG8AZABlACAALQBWAGUAcgBzAGkAbwBuACAATABhAHQAZQBzAHQACgAoAE4AZQB3AC0ASQB0AGUAbQAgAC0AVAB5AHAAZQAgAEQAaQByAGUAYwB0AG8AcgB5ACAALQBQAGEAdABoACAAJABlAG4AdgA6AHQAZQBtAHAAIAAtAE4AYQBtAGUAIAAiAGEAbgBzAGkAYgBsAGUALQB0AG0AcAAtADEANAA1ADYAOAA4ADAAOAA0ADMALgA3ADcALQAxADMANwA5ADAAOQA3ADQANwA3ADEANQA2ADEAMQAiACkALgBGAHUAbABsAE4AYQBtAGUAIAB8ACAAVwByAGkAdABlAC0ASABvAHMAdAAgAC0AUwBlAHAAYQByAGEAdABvAHIAIAAnACcAOwA=,
 
exited with result 1",
    "unreachable": true

However, I have run this on both 2008 R2 and Windows 2012 R2 and it works 
flawlessly.

Whatever it is it seems to be unique to Win 7

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0f3ae625-8131-4764-a664-35ca37e2d683%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to