I am trying to access windows host from ansible.
In my virtual environment, “pip list” command shows these packages installed
winrm
pywinrm
xmltodict
…etc…
when I play, playbook or adhoc command it shows error like as follows:
FAILED! => {“msg”: “winrm or requests is not installed: No module named xmltodict”}
“which python” and “which pip” commands shows my virtual environment:
(my_virtual_environment)/bin/python
(my_virtual_environment)****/bin/pip
Pls help me to find the issue. Thanks in advance.