Red Hat Satellite 6.10: Using Ansible roles on Host Groups or Host Collections
Hello,
Running Satellite 6.10.6 and having quite the time, trying to figure out how to use Ansible roles against a host group.or host collections.
I have used the following resources to walk myself through the configuration:
https://www.redhat.com/en/blog/automating-host-configuration-red-hat-satellite-and-rhel-system-roles
https://access.redhat.com/documentation/en-us/red_hat_satellite/6.7/html/administering_red_hat_satellite/chap-red_hat_satellite-administering_red_hat_satellite-managing_ansible_roles
I have made little progress with the above configurations. When creating a hostgroup, it's fairly straight forward, however, when adding hosts to the hostgroup, it seems like a maze. When adding hosts to a hostgroup a massive curl command is generated, which seems to install the katello agent, from the local server, and checks a few things. After this runs, the host is already registered to RHS and nothing changes on RHS, as in a no hostgroup changes. The server shows up normally on RHS, but no addition to desired hostgroup. I have tried many things. Is there any straightforward instructions out there or could I run a role against host collections from RHS?