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 features and bugs were current when this page was generated on November 21, 2024.

Feature requests

  • Support for helm values in Ansible module #29984
  • Support arbitrary file names for ansible-galaxy manager #29816

Bug reports

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