On 24. aug. 2016 22:03, Anfield wrote:
When I run ansible all -m ping -vvvv from the controller to the client
(ubuntu) I get the following -
Loaded callback minimal of type stdout, v2.0
<10.10.128.0> ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT
5986 TO 10.10.128.0
<10.10.128.2> ESTABLISH SSH CONNECTION FOR USER: None
Since user is None, no user is specified, ten Ansible will use the user
running ansible-playbook.
<10.10.128.2> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o
ControlPersist=60s -o KbdInteractiveAuthentication=no -o
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey
-o PasswordAuthentication=no -o ConnectTimeout=10 -o
ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 10.10.128.2 '/bin/sh -c
'"'"'( umask 77 && mkdir -p "` echo
$HOME/.ansible/tmp/ansible-tmp-1472067867.19-242906541295629 `" && echo
ansible-tmp-1472067867.19-242906541295629="` echo
$HOME/.ansible/tmp/ansible-tmp-1472067867.19-242906541295629 `" ) && sleep
0'"'"''
10.10.128.2 | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh.",
"unreachable": true
Verified that ssh works fine if i run it from command line on the
controller.
Any ideas? I verified that the same user exists on both machines (admin).
admin was used to setup ssh.
So you are logged inn as admin and running ansible-playbook and this
user can login to the node 10.10.128.2?
--
Kai Stian Olstad
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/8f25d089-73d7-48f1-7d4c-27f2d08e5f8d%40olstad.com.
For more options, visit https://groups.google.com/d/optout.