Uploading content to Red Hat Automation Hub
Manage your collections with Automation Hub
Abstract
Preface
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 manage your collections by uploading or deleting collections using the automation hub user interface or the ansible-galaxy client.
Making open source more inclusive
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.
Providing feedback on Red Hat documentation
We appreciate your feedback on our technical content and encourage you to tell us what you think. If you’d like to add comments, provide insights, correct a typo, or even ask a question, you can do so directly in the documentation.
You must have a Red Hat account and be logged in to the customer portal.
To submit documentation feedback from the customer portal, do the following:
- Select the Multi-page HTML format.
- Click the Feedback button at the top-right of the document.
- Highlight the section of text where you want to provide feedback.
- Click the Add Feedback dialog next to your highlighted text.
- Enter your feedback in the text box on the right of the page and then click Submit.
We automatically create a tracking issue each time you submit feedback. Open the link that is displayed after you click Submit and start watching the issue or add more comments.
Chapter 1. Uploading a collection to automation hub
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 Automation Hub → My Namespaces.
- Click a namespace.
- Click Upload collection.
- In the New collection modal, click Select file. Locate the file on your system.
- Click Upload.
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
Once uploaded, your collections will enter the partner certification process. Our Partner Engineering team will contact you with the certification status of your collection.
Chapter 2. Deleting a collection on automation hub
You can further manage your collections by deleting unwanted collections, provided that the collection is not dependent on other collections. Click the Dependencies tab on a collection to see a list of other collections that uses the current collection.
Prerequisites
- The collection being deleted does not have dependencies with other collections.
- You have Delete Collections permissions
Procedure
- Log in to Red Hat Ansible Automation Platform.
- Navigate to Automation Hub → Collections.
- Click a collection to delete.
Click the More Actions icon ⋮ then select an option:
- Delete entire collection to delete all versions in this collection.
Delete version [number] to delete the current version of this collection. You can change versions using the Version dropdown menu.
NoteIf the selected collection has any dependencies with other collections, these actions will be unavailable to you until you delete those dependencies. Click the Dependencies tab to see a list of dependencies to delete before you proceed.
- When the confirmation window appears, verify that the collection or version number is correct, then select Delete.