1
我已经在Windows Server 2012中机器将使用Ansible团队提出的脚本配置WinRM的查验窗机:https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1Ansible:使用基本身份验证
在Ansible控制机(Linux中),配置是这样的:
ansible_user: Administrator
ansible_password: PASS
ansible_port: 5985
ansible_connection: winrm
ansible_winrm_scheme: http
ansible_winrm_server_cert_validation: ignore
尝试ping Windows机器我仍然得到:
10.2.75.142 | UNREACHABLE! => {
"changed": false,
"msg": "plaintext: the specified credentials were rejected by the server",
"unreachable": true
}
用户凭据正在本地Windows我们的凭据呃,属于管理员组。我仍然想念任何一方的配置?