Hi, You probably need python-requests too yum install python2-winrm python2-requests_ntlm python-requests
To debug to see what package is needed, you can run python interactively and do import winrm, it will put some messages to help you debug the problem. Perhaps, you should do a bug report on bugzilla.redhat.com in order to fix this. Regards, JYL 2 janvier 2017 04:00 "Tom Albrecht" a écrit: Hi, I'm working through trying ansible to manage windows hosts for the first time using CentOS7 as my control machine and Windows 2012r2 as my target. The system I'm building is disconnected from the internet, so my only real "outside" connection is the mirror I've made of the CentOS7 and EPEL repositories I've created in my lab. Ansible v2.2.0 has been installed from epel, and it's been working like a charm until now. Going through the Ansible Windows Intro (http://docs.ansible.com/ansible/intro_windows.html), I tried running "ansible hostname -m setup", and get the "winrm is not installed" message. While the document said to install winrm using pip, since I don't have internet connectivity, I installed the python2-winrm package from epel, but I still get the same message. Any ideas on what I can do to make ansible see my winrm installation? Thanks! Tom A. -- 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/5db52cc307ee48cc76e4c781c32895fd%40wwws.lenhof.eu.org. For more options, visit https://groups.google.com/d/optout.
