Ansible role fails with ERROR the role_exmple was not found on hosts connected to the Red Hat Capsule server.

Solution Verified - Updated -

Issue

  • Hosts configured to use roles from Capsule server.
  • Running role fails with following error.
proxy_output:
  result:
  - output_type: stdout
    output: "ERROR! the role 'role_exmple' was not found in /tmp/roles:/etc/ansible/roles:/usr/share/ansible/roles:/tmp\r\n\r\nThe
      error appears to be in '/tmp/foreman-playbook.yml':

Environment

  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content