By default Azure VMs do not answer pings (Microsoft blocks that). So this is not ansible's fault. Use something else to "ping" your VM instead.
Am Montag, 7. Mai 2018 19:36:01 UTC+2 schrieb Carlton Patterson: > > 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/bcceab83-1cd0-4c3c-aefb-d129a5b3ec51%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
