Hi Raj, I'm new to this forum. I can't actually see your answer?
On Monday, 7 May 2018 20:40:10 UTC+1, raj lovely wrote: > > HI Bro, > > Let me know if this helps you, because the same was bugging me and i took > backup of authorized_keys file and removed it. > > After that, I have ssh-copy-id user@remote_host (copied the ssh keys), > then tried to ping which worked for me. > > Thanks, > rajesh. > > > On Monday, May 7, 2018 at 11:06:01 PM UTC+5:30, Carlton Patterson wrote: >> >> Hello Community, >> >> I have created a Centos host in Azure and added the hosts to my Ansible >> inventory, however whenever I attempt to ping the host with ansible, from >> Azure Cloud Shell I get the error shown in image. >> >> >> >> <https://lh3.googleusercontent.com/-h_t40gjD_U8/WvCOCqJ5ssI/AAAAAAAALPI/7OoHMZYgGz8L2LtZJfIvRjthg89oh8ijgCLcBGAs/s1600/ans1.png> >> >> >> However, I can connect to the same host with ssh: >> >> >> >> <https://lh3.googleusercontent.com/-eWV70eR3QZ0/WvCOJwKiXnI/AAAAAAAALPM/Drw7oj3ZC9oLdFbmN5Psq8TKQ-9YXAd0gCLcBGAs/s1600/ans2.png> >> >> I have been trying to get this to work for two days now. >> >> >> Im running Ansible version 2.4.3 >> >> >> Any guide (I mean any guide) will be greatly appreciated. >> >> >> Cheers >> >> >> Carlton >> > -- 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/faf320c0-a5d3-4b50-ab64-acb611cbbe2f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
