ansible-role-design

Design Ansible roles with standard directory structures and variable organization.

1|Updated Oct 12, 2025
One-click install
npx skills add https://github.com/basher83/Virgo-Core --skill ansible-role-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ansible-role-design
Source: https://github.com/basher83/Virgo-Core/tree/main/.claude/plugins/ansible-workflows/skills/ansible-role-design
Command: npx skills add https://github.com/basher83/Virgo-Core --skill ansible-role-design

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

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/."