It looks like you're running into this issue: https://github.com/ansible/ansible/issues/10294
I'm guessing you are running Python 2.7.9+. The current workaround is using a callback plugin to disable SSL verification; we'll hopefully have a better fix by v2. On Fri, Aug 7, 2015 at 8:31 AM, stephane jean <[email protected]> wrote: > In my company i have a set of CentOS, MAC and Windows machines, i want to > use Ansible mainly to deploy packages and scripts (bash, powershell). > I've been trying to make it work for my windows machines, i have used the > powershell scripts from ansible.com to enable winrm. > > But when i test the connection to my windows host i get this error: > > TASK: [Run powershell script] > ************************************************* > fatal: [192.168.0.37] => 500 WinRMTransport. [SSL: > CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) > FATAL: all hosts have already failed -- aborting > > Do you know how to solve this ? > > I have installed ansible with pip on a debian machine. > i had to create the files in /etc/ansible > maybe i've forgot something ? > > tree /etc/ansible/ > ├── ansible.cfg > ├── group_vars > │ └── windows.yml > ├── handlers > │ └── httpd.yml > ├── hosts > ├── playbooks > │ ├── examples > │ ├── run-bash.yml > │ └── run-powershell.yml > ├── roles > > > Sorry for my bad english i'm french > > -- > 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/ff2d5833-f1f0-44a8-bd17-bf254ecbaa31%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/ff2d5833-f1f0-44a8-bd17-bf254ecbaa31%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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%2BKTJ6D9PgTAEAVfuKM8ZUz26kOjQcZU%3DUpeXkDomkxwYrPpA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
