Applying Ansible roles on a content host registered to Red Hat Satellite 6.x fails with `422 Client Error: Unprocessable Content`

Solution Verified - Updated -

Issue

  • Apply Ansible Roles to a Host shows next error:

    [WARNING]: Sending data to Foreman at https://satellite.example.com failed for host.example.com: 422 Client Error: Unprocessable Content for url: https://satellite.example.com/api/v2/hosts/facts
    Exit status: 0
    

Environment

  • 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