First step is to check if it is connecting without Ansible from your server
On Friday, September 17, 2021 at 9:24:59 AM UTC+5:30 [email protected] wrote: > Is the server name resolvable? Can the computer ansible see the server? > ------------------------------ > *From:* [email protected] <[email protected]> on > behalf of janani Shri <[email protected]> > *Sent:* Friday, September 17, 2021 3:48:20 PM > *To:* Ansible Project <[email protected]> > *Subject:* [ansible-project] Playbook not able to SSH to the hosts > > I see this error when running playbook against my hosts, please assist > > Failed to connect to the host via ssh: ssh: Could not resolve hostname > hostname.acx: Name or service not known > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/42673227-343f-4118-bf86-b688a147469en%40googlegroups.com > > <https://groups.google.com/d/msgid/ansible-project/42673227-343f-4118-bf86-b688a147469en%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/56ad34eb-74a1-4a3b-b034-cd5cca0c0c5fn%40googlegroups.com.
