I'm trying to figure out a way to run that command on a host collection for patching.
Currently right now, for each host in a host collection I have to gather all the available errata and then server by server apply errata. This can take a while, especially doing large groups of systems.
I have found that this is done via the GUI:
Hosts > Host Collections > Click on host collection name > Under actions select Errata Installation > Select top left box to select all errata > Click Install Selected (I use Katello)
From there I see that all hosts in that host collection begin to update.
How can I replicate this via a hammer command on version 6.3.5?