Executing Ansible Role to apply OpenSCAP compliance policy on client registered with Red Hat Satellite fails with exception "No package rubygem-foreman_scap_client available."

Solution Verified - Updated -

Issue

  • Executing Ansible Role to apply OpenSCAP compliance policy tasks fails with exception:

     TASK [theforeman.foreman_scap_client : Install the foreman_scap_client package] ***
    277:
    fatal: [client.example.com]: FAILED! => {"changed": false, "failures": ["No package rubygem-foreman_scap_client available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}
    

Environment

  • Red Hat Satellite 6
  • Red Hat Enterprise Linux 7, 8 and 9

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