Ansible is created by contributions from an active open source community.
Find out what's happening in global Ansible Meetups — and find one near you.
The Ansible community hub for sharing automation with everyone.
Use event-driven automation to reduce manual tasks, deliver more efficient IT operations, and free your teams to focus on innovation.
As a part of Red Hat® Ansible® Automation Platform, Event-Driven Ansible provides the event-handling capability needed to automate time-consuming tasks and respond to changing conditions in any IT domain.
Event-Driven Ansible can process events containing discrete intelligence about conditions in the IT environment, determine the appropriate response to the event, then execute automated actions to address or remediate the event.
IT service management tasks—such as ticket enhancement, remediation, and user management—are ideal starting points, but Event-Driven Ansible is flexible enough to automate a variety of tasks across your IT environment.
Introducing Event-Driven Ansible. Video duration: 1:22.
Use event-driven automation to work smarter and deliver IT services with precision. Choose the automation style—manual or automatic—needed for a particular action, all with a single, common platform.
Free teams to do their best and most critical work, so they can help deliver better value to the business from IT, whether it’s through applications, networks, the cloud, or the edge.
Address problems rapidly, before they become urgent issues. Improve mean-time-to-resolution. Reduce time spent on low-level tasks to optimize the use of valuable resources for other priorities.
Easily apply event-driven automation to diverse needs. Subscribe to many event sources. Use YAML to write conditional rules that implement actions in the ways you want—and even call existing playbooks or templates.
Automate repetitive tasks for networking, edge, infrastructure, DevOps, security, cloud, and more, with a single automation platform.
Codify team knowledge in Ansible Rulebooks to act in the same way every time. Minimize human errors that are often caused by high-volume repetitive tasks and tired staff. Address configuration drift as soon as it occurs.
Event-Driven Ansible connects sources of events with corresponding actions via rules. Ansible Rulebooks define the event source and explain—in the form of conditional “if-this-then-that” instructions—the action to take when the event occurs. Based on the rulebook you design, Event-Driven Ansible recognizes the specified event, matches it with the appropriate action, and automatically executes it. Actions can optionally include executing existing Ansible Playbooks, templates, or modules to extend value from your trusted automation.
All the sources of event data you want to see.
Let’s consider an example. Your observability tool—the event source—is watching network routers and discovers that a router is not responding, recognizing this as an event. Event-Driven Ansible receives this event, finds the corresponding Ansible Rulebook, and matches the event with the desired action—which could be re-applying a configuration, resetting the router, or creating a service ticket. Event-Driven Ansible triggers the instructions in the rulebook and the router is reset, restoring it to normal function. What’s more, this can happen at any time—even at 2 AM, while the network engineer stays asleep.
How can Event-Driven Ansible improve IT operations?
Event-Driven Ansible can help you:
What are some use cases for getting started with Event-Driven Ansible?
Red Hat often recommends a “start small, think big” approach to automation, and Event-Driven Ansible is no exception. You can begin by using it to enhance tickets, then progress to completing some simple remediation steps or creating a notification when a certain condition is present in your environment. Then try it for basic user management tasks—like resetting a password—or create a simple self-service model. From there, you can try more advanced use cases: configuration behavior management, more advanced remediation, auto-triggering backups when a change takes place, self-service provisioning, or using an automated GitOps model.
What can I do with Ansible Content Collections?
Red Hat and our partners have created—and are creating—Ansible Content Collections that can help you jumpstart new Event-Driven Ansible projects across your multivendor IT environment. As a subscriber, you can access this certified and supported content in the Ansible automation hub.
TECHNICAL BLOG
Read these blog posts to find more technical details, learn how to create event source plugins, access how-to guides, and get info about available integrations with partner tools.
VIDEOS
CHECKLIST