I'm working on ansible and windows servers, I'm getting the error mentioned below.
FAILED! => { "msg": "winrm or requests is not installed: No module named xmltodict" }
I installed winrm service, command: pip3 install --ignore-installed pywinrm
I try to reconfigure the winrm, winrm is running in the remote machine
I reinstall winrm.
i checked xmltodict packages, already exist.
tried above all points, again same error "winrm or requests is not installed: No module named xmltodict
ansible details : ansible-playbook 2.4.2.0 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, May 27 2022, 11:27:32) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
I installed pip3.
what am I missing here? please help me with this.