Synchronizing certified and community collections
The community repository pulls from galaxy.ansible.com
using a requirements.yml
file. This allows you to control and curate which public collections can be used. It takes on the following forms and uses name and version information:
collection/requirements.yml
---
collections:
- name: redhat_cop.ah_configuration
- name: redhat_cop.tower_configuration
...
A file source can be an actual file or a URL that leads to a tar.gz
file.
Documentation about the requirements.yml
file can be found at https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#install-multiple-collections-with-a-requirements-file.
To synchronize collections from either the public Automation hub or Ansible Galaxy, perform the following steps in the GUI:
- Log in to the Automation hub.
- Navigate to Collections | Repository Management | Remote.
- For either the community or RH-certified repository, click...