ansible - 带有 Winrm credssp 的 Ansible 2.9.23 无法连接 Windows 服务器
问题描述
我已经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)]
解决方案
推荐阅读
- sql - 如何在上周之前过滤视图中的信息
- python - 不确定如何在 python 中从此列表中选择一个随机输出
- ios - 为什么 UIImageview 不是完美的圆圈?
- css - CSS-transitions/transforms (scale) 上的超链接未打开
- sql - SQL,SQL查询
- awk - AWK:如何抑制默认打印
- android - 改造 2 队列等待大小
- android - kotlin 控制流“while”中的错误
- mysql - 将 selectizeInput 中的多个选择传递给 MySQL 查询
- django - 当 debug =false 或在生产中时,Django 提供 CSS 文件和 Favicon,但不提供来自根静态的图像