You have multiple options to install an Ansible collection, depending on your requirements. Review the requirements to determine the appropriate installation option that is right for your environment.
You can install the IBM z/OS core collection using one of these options:
Ansible Automation Hub
Refer to the RedHat Ansible Certified Content documentation for more on the installation.