Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Ansible Rolling Patch with Health Gates and Rollback

    1

    Patch Linux fleets in waves that never take down a cluster: canary first, health checks before and after, reboot only when needed, stop at the first failure.

    $19

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Ansible Rolling Patch with Health Gates and Rollback

    Example session with this skill installed

    Request: "Patch the whole fleet tonight, but don't take down the Postgres cluster or both load balancers."

    • Read your context and instructions
    • Compiled the ansible rolling patch

    The agent plans waves from the inventory first:

    13 host(s) in 3 wave(s); cluster caps: cluster_pg_main<=1, cluster_redis<=1, ha_haproxy<=1
    wave 01 (1): pg01 [canary]
    wave 02 (3): pg02, lb01, redis01
    wave 03 (9): pg03, lb02, redis02, web01 ... web05

    It runs wave 1 with --check --diff, shows the packages that would change, and runs the canary after approval. The playbook checks units, ports and URLs before touching a host (an unhealthy host is skipped, not patched), saves the package list, applies the update, reboots only if needs-restarting or the kernel says so, checks health again and writes the package diff.

    In testing on three hosts against the live Ubuntu security archive, a real glibc update was applied, and a forced health failure on host 2 stopped the run before host 3 was touched and left host 2 out of service for inspection.

    Result: one host of each cluster at a time, evidence per host, and no "it kept going after the first broken server".

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Monthly patching without the outage: waves planned from your inventory so no cluster loses more than N members, a tested playbook with health checks before and after each host, drain/undrain, security-only or exact package lists, reboots only when needed, package diffs, and a hard stop at the first failed host. Plus a fleet summary of Leapp reports for RHEL 9 → 10.

    Why this instead of a free prompt

    Free skills ask the model to "be careful". These ship executable gates: a PostgreSQL upgrade is rehearsed with the real pg_upgrade before the window; a Quadlet unit with a wrong key is rejected by Podman's own generator; a volume cutover that turns unhealthy rolls itself back; a patch run stops at the first broken host. Every script was run against real PostgreSQL 14 and 18, Docker 29, Podman 4.9, ansible-core 2.22, OpenSSL and Prometheus promtool before release.

    How it keeps you safe

    • Read-only pre-flight first: diagnostics that change nothing.
    • Dry-run by default. Anything that changes state needs an explicit apply step and a typed confirmation.
    • Rollback built in, and guardrails that refuse unsafe input.
    • No secrets printed in output.

    Requirements

    ansible-core 2.15+, Python 3.8+ with PyYAML. Targets RHEL/AlmaLinux/Rocky 8-10 and Debian 11+/Ubuntu 20.04+ (python3-apt).

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.

    Not for: Windows, Kubernetes node pools (cordon/drain with kubectl) or container images. Requires ansible-core 2.15+ and Python 3.8+ with PyYAML.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 5 days ago

    Software
    ansible-core 2.15+Python 3.8+ with PyYAML

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Listed5 days ago

    What's inside

    Frequently Asked Questions

    Windows, Kubernetes node pools (cordon/drain with kubectl) or container images.

    Any agent that loads `SKILL.md` folders: Claude Code (`~/.claude/skills`), Codex, Cursor and compatible tools. The scripts are plain Python 3.8+ and Bash and run from any agent with shell access.

    No pip installs. The Python scripts use the standard library; PyYAML (ships with ansible-core) is needed only where YAML is read. Shell scripts pass shellcheck and run on RHEL/AlmaLinux and Debian/Ubuntu.

    Not through these skills. State-changing scripts are dry-run by default and require a typed confirmation, the instructions forbid bypassing it, and each has a tested rollback path. Deleting volumes, old clusters or packages is explicitly forbidden or left to a separate, approved step.

    Each SKILL.md ends with an "Assumptions" section that lists exactly what was run on real software on 2026-11-21 and what was only tested with fixtures.

    v1.x updates are included. A changelog ships with every release.

    New in DevOps & Cloud