Gnoseed
DevOps · Flashcard

What makes a directory a valid Ansible role?

Why this is the answer

A role is a filesystem convention: Ansible looks for the known subdirectories and loads main.yml from each one present. galaxy_info in meta/ is optional metadata for publishing, a requirements file is how you fetch someone else's role, and nothing needs publishing to work locally.

Read more in the docs
Study in Gnoseed →