Ansible error when trying to ping Windows 10 host. No winrm module
Module or plugin requirements must be installed to the python that uses them. As this is for a plugin, it must be to the python running the ansible
or ansible-playbook
script.
List the installed version of pywinrm with this:
ansible -m python_requirements_info -a dependencies=winrm localhost
If the Python module could be found, it will be returned under a valid
key.
Also confirm that the python
returned is the same as what you run ansible with, head -n1 $(which ansible)