Skip to content

Automated Dependency Updates for Ansible Galaxy

Categories: ansible, iac

Renovate supports updating Ansible Galaxy dependencies.

File Matching

By default, Renovate will check any files matching the following regular expression: (^|/)(galaxy|requirements)(\.ansible)?\.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.

Default config

{
  "fileMatch": [
    "(^|/)(galaxy|requirements)(\\.ansible)?\\.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 29, 2024.

Bug reports

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