The latest pywinrm (as of
https://github.com/diyan/pywinrm/commit/1bb5ee32a559624f9e2c08ba3b1b2f4bdf0d8bcb)
has issues when using the winrm.Session class and the URL contains an IP
address, so I wouldn't expect your example above to work at the moment.

As mentioned in the other ansible-project thread, the IndexError should be
fixed as of
https://github.com/ansible/ansible/commit/07f12539eee2faac5fe831cd31f1f0a5d3e7e661
(which was committed Friday afternoon EDT).

Trying to use win_ping (or any other windows module) from a playbook was
also broken until my commit earlier this evening (
https://github.com/ansible/ansible/commit/57dee4545b3c34d1e66943def8d5e45ee95d66bd)
-- That bug would've given you the error "Processing -File 'C' failed
because the file does not have a '.ps1' extension. Specify a valid Windows
PowerShell script file name, and then try again."

Let me know if you're still having issues using the latest ansible@devel
and pywinrm@master.


On Sat, Aug 23, 2014 at 4:10 PM, john zenou <[email protected]> wrote:

> Hi all
>
> I have exactly the same problem and I agree too that all points to an
> pywinrm issue.
> Does anyone know what is causing this and how to solve it ?
>
> Server controle : Ansible 1.7 running on Ubuntu 12.04
> Node : Windows 2008 r2
>
> --
> 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/a958126e-20f5-4e0d-a1ca-14a1a397e248%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAH%2BKTJ7C-525wbNAw%2Bob29-d-2j-w93dzOsWObFCY8B_fc3vLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to