[ansible-project] Re: winrm and https

2016-08-09 Thread Anjana Raghavendra P
Hi, I am also getting the same error when i tried to run a play with *host: local *and a task with *delegate_to: windows *in ubuntu 14.04. But the same task works if I specify the *host: windows *at play level. Can anyone help me in this? On Friday, June 24, 2016 at 8:00:31 AM UTC-5, skinnedkn

[ansible-project] Re: winrm and https

2016-06-24 Thread skinnedknuckles
Here is a list of 9 items to check. You may already have done all of these but skipping any one of them will prevent it from working. https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/ansible-project/HKgh7jtsFsk On Thursday, June 23, 2016 at 9:32:51 AM UTC-5, František

Re: [ansible-project] Re: winrm and https

2016-06-24 Thread František Griga
So I could not be sure, if the Debian version has cert validation ability, but upstream version should have. https://www.python.org/downloads/release/python-279/ Dňa 24. 6. 2016 o 8:55 Mike Fennemore napísal(a): Is there a method for using HTTPS with certificate validation with Python 2.79? Ha

[ansible-project] Re: winrm and https

2016-06-23 Thread Mike Fennemore
Is there a method for using HTTPS with certificate validation with Python 2.79? Have been reading this http://www.hurryupandwait.io/blog/understanding-and-troubleshooting-winrm-connection-and-authentication-a-thrill-seekers-guide-to-adventure . Admittedly this is Chef but I would assume the Win

Re: [ansible-project] Re: winrm and https

2016-06-23 Thread František Griga
Hello, thanks for answers. I tried that, but hostnames does not help. Any other ideas? Is anybody who use Ansible on Debian (successfuly)? FG Dňa 23. 6. 2016 o 19:18 Matt Davis napísal(a): This. Python is unfortunately not very verbose about *why* cert validation fails, but you absolutely n

[ansible-project] Re: winrm and https

2016-06-23 Thread Matt Davis
This. Python is unfortunately not very verbose about *why* cert validation fails, but you absolutely need to be using ansible_host or the inventory hostname that matches the CN or a SAN in the certificate you created. Python 2.x does *not* support IP CN/SANs yet (3.x does, but IIRC it hasn't be

[ansible-project] Re: winrm and https

2016-06-23 Thread 'J Hawkesworth' via Ansible Project
As well as getting a valid, trusted cert generated for your host (and each of your windows hosts), I believe you should use the hostname rather than ip address. On Thursday, June 23, 2016 at 3:32:51 PM UTC+1, František Griga wrote: > > Hello, > > I have a problem with using Ansible to manage W