"hammer hostgroup ansible-roles assign" command overwrites existing roles instead of appending

Solution Verified - Updated -

Issue

  • The following hammer command appears to overwrite the entire list of roles instead of appending to it:

    # hammer hostgroup ansible-roles assign --title "$TITLE" --ansible-role-ids "$ANSIBLE_ROLE_ID"
    

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