Event-Driven Ansible Technical Workshop

Ansible Automation Platform can run a playbook when someone clicks Launch. Event-Driven Ansible is the part of the platform that starts that work when something in the environment changes: an alert fires, a webhook arrives, or a message shows up on a queue. A rulebook listens to a source, matches a condition, and runs an action, usually an Automation Execution job template or workflow.

This workshop walks that model on current Ansible Automation Platform. Event-Driven Ansible runs as Automation Decisions, in the same UI as Automation Execution. You configure a decision environment and a project, turn a rulebook into a rulebook activation that stays running, and use event streams when several activations should share one inbound webhook. A second lab runs ansible-rulebook directly, so the source, condition, and action are visible on their own.

The longer session that adds ServiceNow is the 4-hour workshop.

Key themes explored in the workshop:

Workshop Resources

Resource Link
Workshop content and exercises 🖥️ Google Slides
Post-event survey 📋 Post-event survey
Registration page & promotional email copy 📝 Registration page & promotional email copy
Event banners 🎨 Event banners

Target Audience

Attendee Prerequisites

Presentation Deck

Lab Options

Option Link Description
Launch rulebook lab on RHDP 🚀 Launch Lab Provision Get started with Event-Driven Ansible and Ansible Rulebooks
Launch Automation Decisions lab on RHDP 🚀 Launch Lab Provision Event-Driven Ansible Controller Up and Running 2.5. The showroom covers Automation Decisions, rulebook activations, and event streams.

Lab provisioner

Both labs are on the Red Hat Demo Platform. The exercise guide opens in the showroom after the environment is provisioned.

They are also available as public labs. A free Red Hat account is required.

Exercises

Activity Link
Slides: Introduction + Workshop Brief 🖥️ Google Slides
Exercise 1 — Rulebook basics and a webhook source 🚀 Launch Exercise
Exercise 2 — Kafka source 🚀 Launch Exercise
Exercise 3 — URL check source 🚀 Launch Exercise
Automation Decisions on Ansible Automation Platform
Exercise 4 — Introduction to Event-Driven Ansible 🚀 Launch Exercise
Exercise 5 — Credentials, decision environments, and projects 🚀 Launch Exercise
Exercise 6 — Rulebook activations 🚀 Launch Exercise
Exercise 7 — Prometheus and Alertmanager 🚀 Launch Exercise
Exercise 8 — Event streams 🚀 Launch Exercise

Ansible Workshop

This is an official Ansible Workshop

This workshop is maintained by the Red Hat Ansible Technical Marketing Team. Please open an issues on Github

ansible workshop logo