aj-geddes avatar

Ansible Automation

This handles Ansible playbooks, roles, and inventory management for configuration and deployment across multiple servers. You'd reach for it when provisioning cloud instances, doing rolling application deployments, or keeping server configurations in sync. The quick start shows a basic three-role deployment with health checks and serial execution for zero-downtime updates. Reference guides cover playbook structure, inventory organization, and variable management. The best practices are solid reminders: use roles for modularity, leverage handlers for idempotency, always run check mode first, and keep secrets in vault. It's opinionated about avoiding shell commands when simpler modules exist, which is the right nudge for maintainable infrastructure code.

skills.sh installs
1.9K
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill ansible-automation --agent claude-code

Installs into .claude/skills of the current project.

Files

Ansible Automation

Table of Contents

Overview

Automate infrastructure provisioning, configuration management, and application deployment across multiple servers using Ansible playbooks, roles, and dynamic inventory management.

When to Use

  • Configuration management
  • Application deployment
  • Infrastructure patching and updates
  • Multi-server orchestration
  • Cloud instance provisioning
  • Container management
  • Database administration
  • Security compliance automation

Quick Start

Minimal working example:

# site.yml - Main playbook
---
- name: Deploy application stack
  hosts: all
  gather_facts: yes
  serial: 1  # Rolling deployment

  pre_tasks:
    - name: Display host information
      debug:
        var: inventory_hostname
      tags: [always]

  roles:
    - common
    - docker
    - application

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
DevOps & CI/CD, AI & Agent Building, Automation & Workflows, Cloud & Infrastructure
First seen
Apr 16, 2026

More from aj-geddes/useful-ai-prompts

All 258
1pika-labs avatarbuild-a-brandpika-labs/pika-pluginsUse when the user asks for build a brand or a task matching the examples below. Build a practical brand identity from any input — an idea, an existing website, 1.7Kskills.sh installs
2buildgreatproducts avatarbuild-loop-claude-codebuildgreatproducts/builder-osUse when building features with **Claude Code** in any codebase and the work should go through a disciplined build → review → test → fix loop. Triggers on "run 1.7Kskills.sh installs
3buildgreatproducts avatarbuild-mvpbuildgreatproducts/builder-osUse inside a product repository when the user wants the full MVP built from their BuilderOS spec documents. Triggers on phrases like "build my MVP", "build the 1.7Kskills.sh installs
4recoupable avatarsetup-sandboxrecoupable/setup-sandboxsetup sandbox1.6Kskills.sh installs
5nvidia avatartao-run-on-local-dockernvidia/skillsLocal or remote Docker execution for TAO SDK job containers using a Docker daemon with NVIDIA GPU runtime. Use when running TAO jobs on the current machine, a d1.6Kskills.sh installs
6nvidia avatartao-run-automl-deft-pipelinenvidia/skillsRun the canonical NVIDIA AOI three-phase training pipeline — Phase 1 AutoML baseline (HPO), Phase 2 DEFT loop (RCA → SDG → mining → plain-train retrain), Phase 1.6Kskills.sh installs