Member-only story

Ansible troubleshooting — Error galaxy

How to Solve the Ansible Error galaxy Understanding and Resolving “galaxy” Rule Violations in Ansible

Luca Berton
7 min readNov 3, 2023

Introduction

Ansible is a powerful automation and configuration management tool that allows you to streamline and simplify complex IT tasks. One of Ansible’s key features is the use of collections, which are shareable units of automation, and can be hosted on Ansible Galaxy. Collections help automate various tasks efficiently. However, ensuring that your Ansible collections are well-maintained and follow best practices is crucial for seamless automation.

In this article, we’ll discuss the Ansible “galaxy” rule, which is designed to identify and address issues related to the quality and completeness of your Ansible collections. This rule serves as a helpful guide to maintaining and certifying your collections on Automation Hub or Galaxy NG.

Collection Version

One of the first aspects the “galaxy” rule checks is the collection version specified in your galaxy.yml file. It ensures that the collection’s version is greater than or equal to 1.0.0. This requirement ensures that your collection follows a standard versioning convention, with the goal of indicating that it’s a production-ready…

--

--

Luca Berton
Luca Berton

Written by Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday

No responses yet