ansible-role-design

Community

Craft production-ready Ansible roles with ease.

Authorbasher83
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides battle-tested patterns for designing well-structured, maintainable, and reusable Ansible roles, preventing common organizational pitfalls and ensuring high-quality automation.

Core Features & Use Cases

  • Standard Directory Structure: Learn the optimal layout for roles, including defaults/, vars/, tasks/, and handlers/, based on industry best practices.
  • Variable Organization: Master the distinction between defaults/ (user-overridable) and vars/ (internal/OS-specific) for clear variable management.
  • Task & Handler Patterns: Organize tasks for clarity and reusability, and design handlers for efficient service restarts and reloads.
  • Use Case: Create a new Ansible role to install and configure a database server. Use this skill to structure the role correctly, organize its variables, and define its tasks and handlers for maximum reusability and maintainability.

Quick Start

"Outline the standard directory structure for a new Ansible role and explain the purpose of defaults/ versus vars/."

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ansible-role-design
Download link: https://github.com/basher83/Virgo-Core/archive/main.zip#ansible-role-design

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.