Configure the private automation hub community remote
Configure the community remote so you can sync content from Ansible Galaxy.
Before you begin
- You have a
requirements.ymlfile that identifies those collections to synchronize from Ansible Galaxy as in the following example:Requirements.yml example
collections:
# Install a collection from Ansible Galaxy.
- name: community.aws
version: 5.2.0
source: https://galaxy.ansible.comAbout this task
You can edit the community remote repository to synchronize chosen collections from Ansible Galaxy to your private automation hub. By default, your private automation hub community repository directs to galaxy.ansible.com/api/.
Procedure
- Log in to Ansible Automation Platform.
- From the navigation panel, select .
- In the Details tab in the Community remote, click .
- In the YAML requirements field, paste the contents of your
requirements.ymlfile. - Click .
Results
You can now synchronize collections identified in your requirements.yml file from Ansible Galaxy to your private automation hub.
What to do next
See Synchronizing content collectionsfor syncing steps.