No host, but ping is done

moiseev-ks
Sun, 24 Sep 2023 14:03:42 +0000
Get Help

Hi
I am new in ansible, and studing it on lab scheme.
I am confused one thing:
In inventory is host:

cis2 ansible_host=172.28.8.222

And then i try -m ping to it, recievd pong.

[WARNING]: ansible-pylibssh not installed, falling back to paramiko
cis2 | SUCCESS => {
“changed”: false,
“ping”: “pong”
}

But, this host is absent.

— 172.28.8.222 ping statistics —
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3059ms

ssh: connect to host 172.28.8.222 port 22: No route to host

What it is mean?

8 posts - 5 participants