Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
Playbook not able to SSH to the hosts
40 views
Skip to first unread message
janani Shri
unread,
Sep 16, 2021, 11:48:21 PM
9/16/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
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
Wei-Yen Tan
unread,
Sep 16, 2021, 11:54:59 PM
9/16/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
Is the server name resolvable? Can the computer ansible see the server?
From:
ansible...@googlegroups.com
<
ansible...@googlegroups.com
> on behalf of janani Shri <
jans...@gmail.com
>
Sent:
Friday, September 17, 2021 3:48:20 PM
To:
Ansible Project <
ansible...@googlegroups.com
>
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
ansible-proje...@googlegroups.com
.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/42673227-343f-4118-bf86-b688a147469en%40googlegroups.com
.
rajthecomputerguy
unread,
Sep 17, 2021, 12:30:01 AM
9/17/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
First step is to check if it is connecting without Ansible from your server
steve missoh
unread,
Sep 18, 2021, 7:48:56 PM
9/18/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
You can also use verbose when running the playbook. ( -vvv )
It may help you pinpoint the issue.
I suspect Its either a resolution problem as pointed by rajthecomputerguy or an inventory problem.
Reply all
Reply to author
Forward
0 new messages