我已经2.9.23
使用winrm
credssp
身份验证模块配置了 ansible。当我尝试连接 Windows 机器时,它会发出 unreachable
消息。
如何解决和解决此问题?
ansible windows -i h -m win_ping
winhost01 | UNREACHABLE! => {
"changed": false,
"msg": "credssp: __enter__",
"unreachable": true
}
Ansible 信息
ansible 2.9.23
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/xxx/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.6/site-packages/ansible
executable location = /usr/bin/ansible
python version = 3.6.8 (default, May 8 2021, 09:11:34) [GCC 8.4.1 20210423 (Red Hat 8.4.1-2)]