USE CASE:
Event-Driven Ansible developer preview

Eliminate manual tasks and focus on innovation with the Event-Driven Ansible developer preview. Join the community shaping this solution for smarter IT delivered at the speed of automation.

Try it

Ways to learn about Event-Driven Ansible

Icon-Red_Hat-Single_use_workspace-A-Red-RGB

Self-paced lab

Take this interactive, self-paced lab to learn how Event-Driven Ansible works. Learn the basics so you can get started easily with the developer preview.

Icon-Red_Hat-Media_and_documents-Report-A-Red-RGB

Analyst report

Read this analyst report to find out why event-driven automation is coming to the forefront of IT strategy.

Icon-Red_Hat-Virtual_Collaboration-A-Red-RGB

Office hours

Attend office hours with experts who will help you get started, share tips, answer questions, and gather your feedback.

Why use event-driven automation?

As IT environments increase in scope and complexity, teams are employing event-handling solutions that can rapidly execute key IT actions with full end-to-end automation. Event-driven automation ensures a fast IT response—for example, faster Mean-Time-To-Resolution (MTTR) for outages—and does not require your team to take manual action.

The best event-driven automation solutions enable you to easily select ideal tasks to automate, then simply and flexibly apply automation to them. This enables you to build existing operational knowledge into automated decision-making and actions, so that you can efficiently perform repetitive tasks and deliver services faster, with far less effort.

 

What is Event-Driven Ansible?

Currently available as a developer preview, Event-Driven Ansible is a scalable, responsive automation solution that can process events containing discrete, actionable intelligence; determine the appropriate response to the event; then execute automated actions to address or remediate the event. While this tooling and content are in developer preview, we invite both the community and partners to provide feedback that helps us create the best possible capabilities and integrations for Event-Driven Ansible.

Using Event-Driven Ansible, you can not only keep a system in a desired state, but also automate time-consuming tasks for any IT domain. 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. Event-Driven Ansible makes it easy to connect actionable analytics to automated IT actions, improving resilience and responsiveness, while freeing teams to focus on more valuable work.

Implement easily

Write automation rules via Ansible Rulebooks to provide “how to” instructions, with a familiar YAML-like language. Embed Ansible Playbooks if desired. Make changes easily when needed

Boost speed and responsiveness

Address festering problems rapidly, before they become urgent issues. Improve Mean-Time-To-Resolution. Eliminate low-level tasks to optimize the use of valuable resources for other priorities

Work flexibly

From source to rule to action, use a modular design that makes it easy to apply event-driven automation across your operation. Subscribe to many event sources. Write rules that implement actions in the ways you want

Adapt easily across IT

Automate repetitive tasks for networking, edge, infrastructure, DevOps, security, cloud, and more, with a single automation platform

Ensure consistency

Codify team knowledge in Ansible Rulebooks to act in the same way every time. Eliminate human errors that are often caused by high-volume repetitive tasks and tired staff

Innovate faster

Free teams to do their best and most critical work, so they can help deliver better value to the business from IT, whether it is applications, networks, the cloud, or the edge

Work smarter—automate IT actions with Event-Driven Ansible. 

 

How does Event-Driven Ansible work?

Event-Driven Ansible connects sources of events with corresponding actions via rules. Its decision-making capabilities receive the “event” and match it to the appropriate Ansible Rulebook. These Ansible Rulebooks define the source of the event and explain the action to take—in the form of “If-This-Then-That” instructions—when the event is encountered. Ansible Rulebooks map event conditions to an action, like running a playbook or directly executing a module.

How-event-driven-Ansible-works

Let’s consider an example. Your 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 and finds the corresponding Ansible Rulebook that indicates: when “no response” is encountered from this type of router, reset the router. 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 a.m. when the network engineer is asleep.

How can you get started? 

To get started with Event-Driven Ansible, explore the learning resources provided throughout this page. Next you will need to think about your event-driven automation use case. We recommend a “start small, think big” approach, in which you begin with a basic task and grow from there. A good example may be a fact-gathering automated solution to start learning.

When you’re ready, go to the event-driven-ansible repository on GitHub. There, you will find more information on how to use the tooling and content we provide in order for you to work with Event-Driven Ansible. Here is a summary of what you will find in GitHub:

Ansible Rulebook CLI

This command line interface runs Ansible Rulebooks. It monitors events and delegates the execution of playbooks to Red Hat® Ansible® Automation Platform’s existing tooling.

EDA Server

This tool offers the management, scaling, and observability functionality that enables Event-Driven Ansible to be used effectively in cloud, on-premise, or hybrid environments.

Event-Driven Ansible content collection

This content collection offers event-source plugin code for a number of provided event sources, as well as Ansible Rulebooks to get you started. It also shows how to use and develop Ansible Rulebooks.

Once you have installed Event-Driven Ansible from GitHub, you will need to configure your event source—your monitoring tool of choice—and write or extend an Ansible Rulebook that explains what actions you wish to take. You can then test your Ansible Rulebooks using the command line interface and begin to use the EDA Server when you wish to run or manage multiple Ansible Rulebooks. And don’t forget to give us feedback.

3 ways to give us feedback

Icon-Red_Hat-Talk_Bubble-A-Red-RGB

Comment directly in GitHub.

Icon-Red_Hat-Virtual_Collaboration-A-Red-RGB

Attend one or more of our Office Hours events

Partners play a key role

Customers need solutions that bring together their multi-vendor environments, and event-driven automation is no exception. Partners can use the Event-Driven Ansible developer preview to try the technology and start writing Ansible Content Collections that will make it easy for customers to work with our joint solution. Integrating event sources and documenting experiences via Ansible Rulebooks will enable partners to work within Event-Driven Ansible, but there are also other ways to work together. Learn more about partner opportunities in our blog.

Smart, advanced IT through event-driven automation

With Event-Driven Ansible, you can: 

  • Deliver more value with responsive IT services.
  • Automate IT decision making.
  • Leverage numerous sources of events. 
  • Streamline and simplify IT workflows. 
  • Improve security, ensure consistency, and reduce down time.
  • Automate rote tasks to free your IT teams for high-value work.
  • Respond with speed and efficiency at lower costs.

 

Event-Driven Ansible is built to provide an experience which is familiar to Red Hat Ansible Automation Platform users. In the next year, we will be integrating Event-Driven Ansible into Ansible Automation Platform as a component.

Try it

Related resources

BLOG

Introducing the Event-Driven Ansible developer preview

Learn more about the details of the Event-Driven Ansible developer preview and how you can use it.

VIDEO

Event-Driven Ansible: rules and rulebooks

Watch this demonstration to learn more about Ansible Rulebooks’ main components and functionality. 

BLOG

Achieving speed and accuracy through event-driven automation

Read more about event-driven automation use cases and the technologies that make it work.