Hi,

I' trying to run a simple test on a remote windows host.
I read http://docs.ansible.com/intro_windows.html and saw that Michael 
recommends to install pywinrm like this:
pip install http://github.com/diyan/pywinrm/archive/master.zip#egg=pywinrm

In my case, I don't have any possibility to run pip and hit github due to 
network security rules so I did it like this (on Debian 8 - Jessie):

   1. aptitude install python-isodate python-xmltodict python-pytest 
   python-pytest-cov pep8
   2. # Downloaded 
   http://github.com/diyan/pywinrm/archive/master.zip#egg=pywinrm and put it 
   on my Ansible server
   3. unzip pywinrm-master.zip
   4. cd pywinrm-master/
   5. python setup.py install


All went well and I have this directory installed 
/usr/local/lib/python2.7/dist-packages/winrm/

After having modified 
file 
/usr/lib/python2.7/dist-packages/ansible/runner/connection_plugins/winrm.py 
as expected in https://github.com/ansible/ansible/issues/8720 , my problem 
is that when I run the ping test, this is what I get:

ansible windows_hosts -m win_ping
> WINSRV-01 | FAILED => 500 WinRMTransport. [SSL: UNKNOWN_PROTOCOL] unknown 
> protocol (_ssl.c:581)


Any idea?

I'm running ansible 1.7.2 (Debian package: ansible-1.7.2+dfsg-2 on Debian 
Jessie).

Tom

-- 
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/df27877f-83ca-4c2c-b415-08707c62ebed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to