Back to Skills

creating-ansible-playbooks

jeremylongshore
Updated Today
21 views
712
74
712
View on GitHub
Metaaiautomationdesign

About

This skill generates production-ready Ansible playbooks for automating configuration management, software deployment, and infrastructure tasks. It creates multi-platform playbooks based on user requirements while incorporating security best practices. Developers should use it when they need to quickly create reliable Ansible automation for server setups or deployments.

Documentation

Overview

This skill empowers Claude to generate Ansible playbooks, streamlining infrastructure automation. It takes your specifications and translates them into executable Ansible code, allowing for repeatable and reliable deployments.

How It Works

  1. Receiving User Request: Claude receives the user's request for an Ansible playbook, including details about the desired configuration.
  2. Generating Playbook: Based on the user's input, Claude utilizes the ansible-playbook-creator plugin to generate a complete Ansible playbook.
  3. Presenting the Playbook: Claude presents the generated Ansible playbook to the user for review and execution.

When to Use This Skill

This skill activates when you need to:

  • Automate server configuration management tasks.
  • Deploy applications across multiple servers consistently.
  • Create repeatable and reliable infrastructure setups.

Examples

Example 1: Setting up a web server

User request: "Create an Ansible playbook to install and configure Apache on Ubuntu servers."

The skill will:

  1. Generate an Ansible playbook that installs the Apache web server and configures it with a default virtual host.
  2. Present the playbook to the user, ready for execution against Ubuntu servers.

Example 2: Deploying a Docker container

User request: "Generate an Ansible playbook to deploy a Docker container running Nginx on CentOS servers."

The skill will:

  1. Generate an Ansible playbook that installs Docker, pulls the Nginx image, and runs it as a container on CentOS servers.
  2. Provide the playbook to the user for immediate deployment.

Best Practices

  • Specificity: Provide detailed requirements for the desired configuration to generate accurate playbooks.
  • Security: Review the generated playbooks for security best practices before deploying them in production.
  • Testing: Always test generated playbooks in a staging environment before applying them to production servers.

Integration

This skill integrates with Claude's core capabilities by providing a specialized tool for Ansible playbook creation. It enhances Claude's ability to assist with DevOps tasks and infrastructure automation.

Quick Install

/plugin add https://github.com/jeremylongshore/claude-code-plugins-plus/tree/main/ansible-playbook-creator

Copy and paste this command in Claude Code to install this skill

GitHub 仓库

jeremylongshore/claude-code-plugins-plus
Path: backups/skills-batch-20251204-000554/plugins/devops/ansible-playbook-creator/skills/ansible-playbook-creator
aiautomationclaude-codedevopsmarketplacemcp

Related Skills

sglang

Meta

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

View skill

evaluating-llms-harness

Testing

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

View skill

llamaguard

Other

LlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.

View skill

langchain

Meta

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

View skill