TECHIES WORLD

For Techs.... Techniques.... Technologies....

AWSBashLinuxPython

Ansible error: "msg": "winrm or requests is not installed: No module named winrm"

"msg": "winrm or requests is not installed: No module named winrm"

This is a common error on connecting to Windows machines using Ansible. Ansible requires the winrm Python module to interface with Windows remote hosts. So we need to install the winrm Python module to resolve this problem.

#pip install pywinrm

Now Ansible server can to connect to Windows machines without any issues.

That's all…