Failed to run Ansible Roles on the clients registered to Red Hat Satellite Server.

Solution Verified - Updated -

Issue

  • Getting SSH key error when running Ansible Roles on clients registered to Red Hat Satellite Server.
UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname client.example.com: Name or service not known\r\n", "unreachable": true}

Environment

  • Red Hat Satellite Server 6.3.z.
  • Red Hat Satellite Server 6.4.z.
  • Red Hat Satellite Server 6.5.z.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In