Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Need help on ansible ping

Or PigpigOr Pigpig SingaporeMember Posts: 5

Please tell me the steps to solve the issues. When I perform sudo ansible -m ping all , I have the following issues:
192.168.1.2 | FAILED! => {
"failed": true,
"msg": "ssl: the specified credentials were rejectedby the server"
}
192.168.1.12 | UNREACHABLE! => {
"changed": false,
"msg": "Authentication failure.",
"unreachable": true
}

In my /etc/ansible/hosts

[windows]
192.168.1.2

[web]
192.168.1.12

[windows:vars]
ansible_ssh_user="Administrator"
ansible_ssh_pass=1234
ansible_ssh_port=5985
ansible_connection="winrm"
ansible_winrm_server_cert_validation = "ignore"

In my /etc/ansible/ansible.cfg
sudo_user = root
ask_pass = True

Please tell a detail steps to solve the issues. Thanks

Sign In or Register to comment.