Skip to content

Automated Dependency Updates for Ansible Galaxy

Renovate supports updating Ansible Galaxy dependencies.

File Matching

By default, Renovate will check any files matching any of the following regular expressions:

(^|/)requirements\.ya?ml$
(^|/)galaxy\.ya?ml$

For details on how to extend a manager's fileMatch value, please follow this link.

Supported datasources

This manager supports extracting the following datasources: galaxy-collection, git-tags, github-tags.

References## Default config

{
  "fileMatch": [
    "(^|/)requirements\\.ya?ml$",
    "(^|/)galaxy\\.ya?ml$"
  ]
}

Additional Information

Extracts Ansible Galaxy dependencies from configuration files used by the ansible-galaxy CLI tool.

This manager uses two depTypes to allow a fine-grained control of which dependencies are upgraded:

  • collection
  • role

Open items

The below list of bugs were current when this page was generated on March 30, 2023.

Bug reports

  • ansible-galaxy / parsing ends when a comment is found in dependencies #17281