[root@ip-172-31-30-161 home]# su - ansible Last login: Sun Apr 16 16:21:38 UTC 2023 on pts/0 [ansible@ip-172-31-30-161 ~]$ ssh jenkins@172.31.28.77 ssh: connect to host 172.31.28.77 port 22: No route to host [ansible@ip-172-31-30-161 ~]$ ping 172.31.28.77 PING 172.31.28.77 (172.31.28.77) 56(84) bytes of data. >From 172.31.30.161 icmp_seq=1 Destination Host Unreachable >From 172.31.30.161 icmp_seq=2 Destination Host Unreachable >From 172.31.30.161 icmp_seq=3 Destination Host Unreachable >From 172.31.30.161 icmp_seq=4 Destination Host Unreachable >From 172.31.30.161 icmp_seq=5 Destination Host Unreachable >From 172.31.30.161 icmp_seq=6 Destination Host Unreachable >From 172.31.30.161 icmp_seq=7 Destination Host Unreachable >From 172.31.30.161 icmp_seq=8 Destination Host Unreachable >From 172.31.30.161 icmp_seq=9 Destination Host Unreachable
On Sunday, 16 April 2023 at 11:00:58 UTC-7 magnus...@gmail.com wrote: > Well, this is in no way an ansible issue, unless you are a bit more > verbose. > > Do you have any console output? > Can you ping the host? > Can you ssh to the host as the ansible user? > > If not, solve those issues, then come back. > > Sent from my iPhone > > On 16 Apr 2023, at 19:28, Abdulrehman Khurram <abdulrehma...@gmail.com> > wrote: > > Facing using while connecting to remote host > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to ansible-deve...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-devel/af72f9a7-7477-4ea3-9ff1-0e11d2c4ad9cn%40googlegroups.com > > <https://groups.google.com/d/msgid/ansible-devel/af72f9a7-7477-4ea3-9ff1-0e11d2c4ad9cn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/75adccde-a4e5-4f79-906d-d8ad7f848599n%40googlegroups.com.