Skip to Content

Repositories

A repository in Ascender Registry defines a source of Ansible collections to mirror from Ansible Galaxy. Each repository holds a requirements.yml document that lists the collections (and version constraints) you want, plus the upstream URL to pull from. When the sync task runs, the registry reads every enabled repository and imports the matching collections.

Browsing repositories

Open Collections → Repositories in the sidebar. The list shows each configured repository, its URL, and whether it is currently enabled. From here you can add, edit, enable or disable, or delete repositories.

The repositories list

Adding a repository

  1. On the Repositories page, select Add Repository (or New).

  2. Complete the form:

    FieldRequiredNotes
    NameYesA label to identify the source, for example My Custom Repository.
    URLYesThe upstream Galaxy-compatible server, for example https://galaxy.ansible.com.
    EnabledNoWhen on, this repository is included in collection syncs. Turn it off to keep the definition but skip it during sync.
    Requirements (requirements.yml)YesThe list of collections to sync, in standard requirements.yml format.
  3. Select Create.

The add repository form with a requirements.yml editor

The requirements.yml format

The Requirements editor uses the same format as the Ansible requirements.yml file. List collections under a collections: key, each with a name and an optional version constraint:

collections: - name: community.general version: ">=1.0.0" - name: ansible.posix version: ">=1.5.0" - name: amazon.aws

Supported version operators include >=, <=, >, <, and =. When you omit a version, the latest available version is selected. The editor provides YAML syntax highlighting and line numbers to help you avoid formatting mistakes.

Editing a repository

Select a repository to open its edit view. You can change the name, URL, enabled state, and the requirements.yml contents. Save your changes, then run the sync task to apply them.

Enabling and disabling

Each repository has an Enabled toggle. Disabling a repository keeps its definition but excludes it from future syncs, which is useful when you want to pause a source without losing its configuration. You can toggle this from the repositories list or within the edit view.

Deleting a repository

Deleting a repository removes the sync source definition. Collections that were previously imported from it remain in the registry; deletion only stops future syncs from that source.

How sync works

  1. You define one or more repositories with requirements.yml content.
  2. The collection sync task runs, either on demand or on a schedule.
  3. For each enabled repository, the registry contacts the upstream URL, resolves each collection against its version constraint, and imports the matching versions (and their namespaces, metadata, and avatars).
  4. Imported collections appear on the Collections page and become installable by clients.
Tip

The upstream URL and the default Galaxy server can also be influenced by the Ansible Galaxy URL in general settings. Configure that before your first sync if you mirror from a non-default Galaxy server.