ubuntu@ip-172-31-9-47:~/ckp$ ansible all -m win_ping -vvv
Using /home/ubuntu/ckp/ansible.cfg as config file
<172.31.46.234> ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT 5985 TO 172.31.46.234
172.31.46.234 | FAILED! => {
"failed": true,
"msg": "ERROR! plaintext: 401 Unauthorized."
}
ubuntu@ip-172-31-9-47:~/ckp$