Ansible roles help you to reuse and share Ansible code.
Ansible Content Collections_ distribute related roles, modules, and other Ansible plug-ins that you can use in Ansible projects and automation execution environments.
You use the ansible-galaxy command to manage Ansible roles and Ansible Content Collections.
Red Hat provides Red Hat Certified Ansible Content Collections through a cloud-based service, automation hub. Red Hat and its partners support these Ansible Content Collections.
You can distribute Red Hat Certified Ansible Content Collections or your own Ansible Content Collections from an on-premise private automation hub.
Ansible Galaxy provides a library of third-party Ansible roles and Ansible Content Collections that are managed by the community and unsupported by Red Hat.
System roles (redhat.rhel_system_roles) are provided as an RPM package or as an Ansible Content Collection that consists of several roles intended to help you configure managed host subsystems on multiple versions of Red Hat Enterprise Linux.
Roles and Ansible Content Collections that a project needs can be specified by requirements.yml files, and can be installed in your Ansible project manually by using ansible-galaxy.