We also have a similar issue when the ssh times out.  We've been having 
that occur occasionally lately, randomly to servers, and are considering 
setting up a config file to override the 10 second timeout default.  Just a 
thought anyway.

On Friday, July 15, 2016 at 1:55:01 AM UTC-6, Jörg Kastning wrote:
>
> Hello there,
>
> before executing the following commands I started a ssh-agent bash and 
> added my private key.
>
> Running the command "ansible all -m ping" checks succeeded but one. For 
> one host I got the following error:
> host1.example.com | UNREACHABLE! => {
>     "changed": false,
>     "msg": "SSH Error: data could not be sent to the remote host. Make 
> sure this host can be reached over ssh",
>     "unreachable": true
> }
>
> But when I run the following command in the same shell, the connection is 
> successful:
> ssh [email protected]
>
> The section in my inventory file looks like:
> [host-group]
> host[1:2].example.com
> host-test.example.com
>
> Only host1 fails, the other two are checkt successfully.
>
> I use ansible 2.1.0.0  from EPEL-Repo with RHEL 7.2.
>
> Could someone explain to me what's wrong here?
>
> Kind regards,
> Joerg
>

-- 
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/2f54d0d1-ccb8-4e13-b270-3c94260de460%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to