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'?



On 6 September 2017 at 18:22, Lukman Salifu <[email protected]> wrote:
> 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
> }
>
> --
> 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/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

-- 
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/CAL8fbwMUy4JT_tuzhTmg%2BJ24yRRXj-XK7%2BEFveKRA-HS00z7Sg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to