Invoke-WebRequest -Uri https://raw.githubusercontent.com/rallabandisrinivas/winrm_ansible/main/README.md -UseBasicParsing | Select-Object -ExpandProperty Content | Invoke-Expression
For any issue please refer https://docs.ansible.com/ansible/latest/os_guide/windows_setup.html
sudo apt install python3-pip
pip install pywinrm