Uploading content to Red Hat Automation Hub
Uploading your collections to Automation Hub
Abstract
Preface Copy linkLink copied to clipboard!
Red Hat Automation Hub distributes certified, supported collections from partners to customers. Each collection includes content such as modules, roles, plugins and documentation. The first time you upload a collection to Automation Hub, our Partner Engineering team will start reviewing it for certification.
You can upload collections using the Automation Hub user interface or the ansible-galaxy client.
Making open source more inclusive Copy linkLink copied to clipboard!
Red Hat is committed to replacing problematic language in our code, documentation, and web properties. We are beginning with these four terms: master, slave, blacklist, and whitelist. Because of the enormity of this endeavor, these changes will be implemented gradually over several upcoming releases. For more details, see our CTO Chris Wright’s message.
Chapter 1. Uploading a collection to Automation Hub Copy linkLink copied to clipboard!
Prerequisites
-
You have configured the
ansible-galaxyclient for Red Hat Automation Hub. - You have at least one namespace.
-
You have run all content through
ansible-test sanity. - You are a Red Hat Connect Partner. Learn more at Red Hat Partner Connect.
Procedure
To upload your collection using the Automation Hub user interface:
- Log in to Red Hat Ansible Automation platform.
- Navigate to → .
- Click a namespace.
- Click .
- In the New collection modal, click . Locate the file on your system.
- Click .
To upload a collection using the ansible-galaxy client, enter the following command:
ansible-galaxy collection publish path/to/my_namespace-my_collection-1.0.0.tar.gz --api-key=SECRET
ansible-galaxy collection publish path/to/my_namespace-my_collection-1.0.0.tar.gz --api-key=SECRET
Once uploaded, your collections will enter the partner certification process. Our Partner Engineering team will contact you with the certification status of your collection.