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我們的憑據呃,屬於管理員組。我仍然想念任何一方的配置?