Event-Driven Ansible expands the functionality of Red Hat Ansible Automation Platform by enabling Ansible to run automation code without manual intervention when it receives event notifications from your IT environment.
An Ansible Rulebook is a YAML file that configures the rule engine used by Event-Driven Ansible by defining one or more rulesets.
A ruleset specifies the hosts on which to act, a list of event sources to monitor, and a list of rules that determine what actions to take when certain conditions are met by an event.
The rule engine runs the Ansible Rulebook; the ansible-rulebook command and Event-Driven Ansible controller both provide rule engines.
A number of actions are predefined, which enable rules to run a playbook, to launch a job template or workflow job template in automation controller, to post new events for further processing, or to help debug the rulebook, among other capabilities.
The ansible.eda Ansible Content Collection contains several event source plug-ins, and more plug-ins are available in other collections from automation hub.