Skip to main content
πŸŽ“ Claude Code Masterclass Learn AI-assisted development on Udemy β€” plus the companion book on Leanpub & Amazon. Start Learning
OpenClaw agentic automation workflow demo at Red Hat Tech Day Netherlands 2026
Automation

OpenClaw + Ansible: Agentic CVE Remediation

Live demo of OpenClaw orchestrating end-to-end CVE remediation: agent detection, ServiceNow ticketing, OPA policy review, and AAP playbook execution.

LB
Luca Berton
Β· 4 min read

At Red Hat Tech Day Netherlands (June 2026), Fred van Zwieten and Ismail Dhaoui presented β€œAnsible Automation Platform 2.7 and Beyond” β€” and the showstopper was a live demo of OpenClaw orchestrating fully autonomous CVE remediation through the Ansible Automation Platform.

This is not future-state. This is running today. An AI agent detecting vulnerabilities, creating ITSM tickets, validating policies, executing patching playbooks, and filing compliance reports β€” all without human intervention.

Want to reproduce it? See the companion walkthrough β€” OpenClaw Agentic Automation with Ansible β€” CVE Remediation Demo on Ansible By Example.

The interface that makes agent-driven workflows like this possible is AAP’s new intelligent assistant and MCP server, which exposes Ansible automation to agents such as OpenClaw.

Red Hat TechTalks - AAP 2.7 and beyond with Fred van Zwieten and Ismail Dhaoui

The Agentic Automation Workflow

The demo showed a complete 5-step autonomous remediation pipeline:

OpenClaw agentic CVE remediation workflow - complete pipeline

Step 1: OpenClaw Request

  • Source: OpenClaw agent (running in OpenShift Pod)
  • CVE: CVE-2026-31337 (CVSS 9.8 β€” Critical)
  • Impact: 4 production servers affected

The OpenClaw agent detects the vulnerability, validates it against the CVE database, and initiates the remediation workflow.

Step 2: Create ITSM Ticket

  • Integration: ServiceNow
  • Type: Change Request
  • Priority: Critical
  • Ticket: CHG0012847
  • Maintenance window: 03:00–05:00 EST
  • Actions: App owners notified via PagerDuty, 4 servers attached to change record

Step 3: Policy Review

  • Engine: OPA / Policy Engine
  • Mode: Automated
  • Checks performed:
    • ITSM ticket validated βœ“
    • Maintenance window confirmed βœ“
    • Playbook is pre-approved for CVE class βœ“
    • Rollback plan present βœ“
    • Policy check PASSED β€” proceeding βœ“

Step 4: Patch and Reboot

  • Playbook: patch_and_reboot.yml
  • Strategy: Rolling (1 at a time)
  • Actions:
    • Monitoring silenced for maintenance βœ“
    • prod-web-01 patched and rebooted βœ“
    • prod-web-02 patched and rebooted βœ“
    • prod-api-01 patched and rebooted βœ“
    • prod-db-01 drained, patched and rebooted βœ“
    • Health checks passed on all servers βœ“
    • Monitoring restored βœ“

Step 5: Close and Notify

  • ITSM: Close CHG0012847
  • Notify: App owners, SRE lead
  • Actions:
    • ITSM ticket closed βœ“
    • App owners notified β€” all clear βœ“
    • CMDB records updated βœ“
    • Compliance report filed βœ“

OpenClaw workflow in progress - first steps

The OpenClaw Control Panel

The live demo showed OpenClaw’s control interface with:

  • Agent name: sre-sally
  • Model: Claude Sonnet 4.6 (litellm)
  • Session: heartbeat
  • Sidebar sections: Chat, Control (Overview, Channels, Instances, Sessions, Usage, Cron Jobs), Agent (Agents, Skills, Nodes), Settings (Config, Communications, Appearance, Automation, Infrastructure, AI & Agents), Docs

OpenClaw Control Panel - sre-sally agent

Agent Interaction

The agent communicates naturally:

β€œOn it. Let me check the AAP MCP server for the right job to run. Let me handle this directly.”

Tool calls visible in the chat:

  • memory_search
  • runtime_search
  • runtime_exec

OpenClaw agent using MCP tools

Change Management Results

After the playbook completed, the Change Management record showed:

  • Change Record: CHG9679226
  • Type: Standard
  • Priority: 3
  • Assignment Group: Linux Operations
  • State: βœ… Closed β€” Successful

Kernel Upgrade Details

FieldValue
CVE addressedCVE-2026-31337 (CVSS 9.8 β€” Critical)
Previous kernel5.14.0-427.el9
Patched kernel5.14.0-503.el9
Servers updated4 β€” prod-web-01, prod-web-02, prod-api-01, prod-db-01
Rollout strategyRolling, one host at a time
RebootRequired (kernel replacement)
DowntimeZero β€” each host drained before reboot
RollbackPrevious kernel retained as a GRUB boot entry
WindowCompleted inside the 03:00–05:00 EST change window

Why This Matters

What made this demo land was not that an AI β€œran a playbook.” It was that every guardrail an enterprise already relies on stayed in place β€” the agent simply drove them:

  • The agent didn’t write the fix. It selected a pre-approved playbook (patch_and_reboot.yml) exposed through the AAP MCP server. Humans still own what the automation is allowed to do.
  • Policy was the gate, not a suggestion. The OPA check had to pass β€” valid ITSM ticket, confirmed maintenance window, pre-approved playbook class, rollback plan present β€” before anything touched production.
  • The system of record stayed authoritative. ServiceNow held the change, the CMDB was updated, and a compliance report was filed. The audit trail is identical to a human-run change.

That combination is the point: the agent compresses a multi-hour, multi-team toil loop into minutes without removing the approvals, observability, and rollback that make the change safe.

The Takeaway

Agentic automation is not about handing the keys to a model. It’s about wiring an agent into the same ITSM, policy, and automation surfaces your team already trusts β€” then letting it do the tedious orchestration between them. OpenClaw plus the Ansible Automation Platform MCP server is a working blueprint for exactly that: autonomous remediation, human-defined boundaries.

If you’re building toward this, start by exposing a small set of pre-approved, idempotent playbooks through the Ansible intelligent assistant and MCP server and gate them behind policy β€” long before you let any agent near production.

#openclaw #ansible #automation #agentic ai #servicenow #cve #security #red hat
Share:
Ansible & Python Training

Need help with Ansible & Python Training?

Level up your automation skills with expert-led Ansible and Python training.

Learn more about Ansible & Python Training

Want to operate this yourself, in production?

Take the free AI Platform Engineer Readiness Scorecard to see which skills transfer β€” then build a production-shaped AI platform in the 4-week Bootcamp.

Take the Scorecard β†’
Luca Berton β€” AI & Cloud Advisor, Docker Captain

Luca Berton

AI & Cloud Advisor Β· Docker Captain Β· KubeCon Speaker

15+ years in enterprise infrastructure. Author of 8 technical books, creator of Ansible Pilot (1M+ YouTube views, 648K site users). Former Red Hat engineer. Speaker at KubeCon EU 2026 and Red Hat Summit 2026.

Free 30-min AI & Cloud consultation

Book Now