Skip to Content

Collections

A collection is a packaged set of Ansible content (roles, modules, plugins, and playbooks) published under a namespace, for example community.general. The Collections page lists every collection available in the registry, whether it was synced from Ansible Galaxy or custom uploaded directly to the registry.

Browsing collections

Open Collections → Collections in the sidebar. The table lists collections with the following columns:

ColumnDescription
(icon)The namespace logo or avatar.
NamespaceThe owning namespace, for example community.
CollectionThe collection name, for example general.
VersionThe latest available version.
Requires AnsibleThe Ansible version constraint the collection needs, for example >=2.9.10.
DescriptionA short summary of the collection.

Custom (locally uploaded) collections are marked with a Custom badge so you can tell them apart from collections synced from Galaxy.

The collections list

Searching and paging

The list supports searching and pagination:

  • Use the Search box to filter by namespace, name, or description.
  • Use the Show … per page control to change how many rows appear.
  • Use the First, Previous, Next, and Last controls to move between pages.

Viewing collection details

Select a collection row to open its detail page. The detail view shows metadata for the collection and lets you inspect individual versions, including the version history and the information clients receive when they query the registry's Galaxy-compatible API.

The Download card header shows how many times the selected version has been downloaded from this registry (hover for the total across all versions). Counts include every artifact served, whether by ansible-galaxy, the web UI, or a direct URL, and are also exposed as download_count in the Galaxy collection index. A collection that has never been downloaded shows 0.

A collection detail page with metadata and download information

Adding a custom collection

In addition to collections synced from Galaxy, you can upload your own collection artifacts. Custom collections must belong to a custom namespace (see Creating a custom namespace).

  1. On the Collections page, select Add.

  2. Complete the Add Collection form:

    FieldRequiredNotes
    NamespaceYesChoose from your existing custom namespaces. Only custom namespaces are available here.
    Collection NameYesLetters, numbers, and underscores only.
    VersionYesA semantic version, for example 1.0.0.
    Requires AnsibleNoAn Ansible version constraint, for example >=2.9.10.
    DescriptionNoA short summary shown in the list.
    TagsNoComma-separated tags, for example networking, security, cloud.
    DependenciesNoOne per line in the form namespace.collection: ">=1.0.0".
    Artifact (tar.gz)YesThe built collection archive (.tar.gz or .tgz).
  3. Select Add Collection to upload.

Tip

Build the artifact with ansible-galaxy collection build in your collection's source directory to produce the .tar.gz file you upload here. You can also publish it from the command line with ansible-galaxy collection publish; see Publish collections.

The new collection appears in the list with a Custom badge and becomes available for clients to install with ansible-galaxy (see Consuming the Registry).

Updating or removing a custom collection

Custom collection versions are managed individually. Use the collection's detail view to update version metadata or remove a version you no longer need. Synced collections are managed by their repository sync configuration rather than edited directly.

Synced vs. custom collections

SyncedCustom
SourcePulled from Ansible Galaxy through a repository.Uploaded directly in the UI or published with ansible-galaxy.
NamespaceAny namespace defined in the source.Must be a custom namespace.
UpdatesRefreshed by running the sync task.Managed manually.
BadgeNoneCustom