Ansible Playbook Template Generator
Ansible Playbook Template Generator
Generates Ansible playbook YAML with proper module usage, handler chains, and role structures using ansible-core built-in modules. Supports Jinja2 template rendering and vault-encrypted variable files.
Overview
The Ansible Playbook Template Generator creates production-ready playbooks following Ansible best practices. It selects appropriate built-in modules from ansible-core including ansible.builtin.copy, ansible.builtin.template, ansible.builtin.service, and ansible.builtin.package with proper parameter specifications. The skill constructs handler chains with listen groups for cascading service restarts after configuration changes. Role structures follow the standard directory layout with defaults, vars, tasks, handlers, templates, and meta dependencies. Jinja2 templates use proper filter chains including default(), mandatory(), and custom filters with correct whitespace control using trim blocks and lstrip. Vault-encrypted variable files are managed with vault-id labels for multi-environment secret separation. The generator handles inventory patterns with group variables, host patterns using limit expressions, and dynamic inventory scripts for cloud provider integration. Includes proper error handling with block/rescue/always structures and async task patterns for long-running operations.
Installation
Any Agent
npx skills add agentskillexchange/skills --skill ansible-playbook-template-generator
Claude Code
npx skills add agentskillexchange/skills --skill ansible-playbook-template-generator -a claude-code
Cursor
npx skills add agentskillexchange/skills --skill ansible-playbook-template-generator -a cursor
Codex
npx skills add agentskillexchange/skills --skill ansible-playbook-template-generator -a codex
OpenClaw
clawhub install ansible-playbook-template-generator
Source
More from agentskillexchange/skills
your skill name
A clear description of what this skill does and when to use it. Reference specific APIs, tools, or techniques.
18playwright visual regression tester
Automates visual regression testing using the Playwright screenshot comparison API and pixelmatch diffing library. Captures baseline snapshots, detects pixel-level UI changes across viewport sizes, and generates HTML diff reports with threshold-based pass/fail results.
2playwright visual regression suite
Automated visual regression testing using Playwright’s screenshot comparison API (page.screenshot with maxDiffPixelRatio) and toMatchSnapshot assertions. Supports cross-browser testing on Chromium, Firefox, and WebKit.
2stripe payments connector
Full Stripe API integration using the stripe-node SDK. Creates PaymentIntents via stripe.paymentIntents.create(), manages Customers and Subscriptions, handles webhook events through stripe.webhooks.constructEvent(), and supports Stripe Connect for marketplace payouts.
2grafana loki log query agent
Queries Grafana Loki log aggregation system using LogQL via the Loki HTTP API. Filters log streams by labels, parses structured JSON logs, and correlates log entries with Grafana dashboard panels.
2great expectations data validation pipeline
Validate data quality using the Great Expectations Python library. Define expectations as unit tests for your data, run validation suites, and generate human-readable data quality reports.
1