The "hammer hostgroup ansible-roles list" command produces inaccurate output on Red Hat Satellite 6.12

Solution Verified - Updated -

Issue

hammer is listing host assigned ansible-role as it was assigned to hostgroup.

1 Assign ansible roleX to HostA (HostA belongs to HostGroupA).
2 List HostGroupA ansible roles with hammer

[root@example /root]# hammer hostgroup ansible-roles list --name HostGroupA
---|--------------|--------------------
ID | NAME         | IMPORTED AT        
---|--------------|--------------------
1  | roleX        | 2022/10/27 11:11:32
---|--------------|--------------------

Environment

Red Hat Satellite 6.12

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