ssh failure on ubuntu 16.04

18 views
Skip to first unread message

Lukman Salifu

unread,
Sep 6, 2017, 12:22:25 PM9/6/17
to Ansible Project
Am new to ansible and cannot seem to get the very basics started.

ANSIBLE VERSION

ansible 2.3.2.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]

CONFIGURATION

OS / ENVIRONMENT

Ubuntu 16.O4


SUMMARY

ssh works OK from the host control machine, however when I use anisble i get the error below.

used same credentials to login.

12.5.18.14 | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: Connection closed\r\nConnection to 12.5.18.14 closed by remote host.\r\n",
"unreachable": true
}

Dick Visser

unread,
Sep 6, 2017, 12:43:26 PM9/6/17
to ansible...@googlegroups.com
Your control machine is Ubuntu 16.04, but what is your target machine
12.5.18.14 running?
And what do you see when you run the playbook with '-vvvv'?
> --
> 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 ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/7eb26684-20b3-4d39-93ae-54f945c2170c%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Dick Visser
GÉANT

Want to join us? We're hiring: https://www.geant.org/jobs
Reply all
Reply to author
Forward
0 new messages