Documentation

Versioning Content

This topic describes how to version Ansible content

Versioning Roles

Galaxy imports content from repositories on GitHub, and as part of the import process, it scans the repository’s git tags, looking for any that match the Semantic Version format. Tags that match the format are considered to be versions and imported, and those that don’t are skipped.

Once content has been pushed to a GitHub repository, it can be versioned by creating a tag using the git tag command. For more on how to create tags, view Git Basics - Tagging.

Versioning Collections

Version numbers are required for collections and are included in the collection’s galaxy.yml file (see collection versions in the Ansible documentation for details).