#1. 异常信息
"msg": "ntlm: HTTPSConnectionPool(host='192.168.1.168', port=5986): Max retries exceeded with url: /wsman (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f857a556520>: Failed to establish a new connection: [Errno 111] Connection refused'))", "unreachable": true}
#2. 原因及解决
Ansible的Hosts文件中winRM端口明明写着5985,但执行Playbook却显示5986,所以应该是Eclispe缓存问题,改成其他端口试试再改回5985,解决。