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/3a55a2ab-4e83-40f6-9836-8b815d77f14f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.