No description
  • Python 98.9%
  • Shell 1.1%
Find a file
Madhu Kanoor c8f3793933
feat: support for event persistence (#527)
- Adds a new boolean attribute called enable_persistence
- Optionally a user can use a EDA Rule Engine Credential or
  use the Default EDA Rule Engine Credential
2026-03-30 09:44:45 -04:00
.config [AAP-64255] Add auto-sync parameters to project and activation modules (#513) 2026-03-19 18:36:35 +00:00
.github chore(deps): bump codecov/codecov-action from 5.5.3 to 6.0.0 (#529) 2026-03-27 07:01:46 +01:00
demos/dynatrace-demo Add docs building and testing (#276) 2024-08-21 11:11:27 +01:00
docs Refactor docs building and make changelog visible in web interface (#314) 2024-09-09 14:14:05 +01:00
examples feat: [AAP-51248] add pull_policy parameter to decision_environment module (#471) 2025-09-08 11:36:37 -04:00
extensions/eda feat: add feedback queue support for Kafka (#517) 2026-03-27 09:22:34 -04:00
meta feat: [AAP-47707] allow credentials to link to external SMS (#459) 2025-08-08 10:46:08 -03:00
playbooks chore: add changelog, fix lint issues and bump 1.4.7 (#210) 2024-05-21 19:39:36 +02:00
plugins feat: support for event persistence (#527) 2026-03-30 09:44:45 -04:00
schemas Add tox-pylint linters, move tox to the project root, update pre-commit (#158) 2023-08-11 16:29:39 +02:00
tests feat: support for event persistence (#527) 2026-03-30 09:44:45 -04:00
.ansible-lint Test collection building (#291) 2024-08-29 13:35:43 +01:00
.flake8 Adopt black, flake8, and isort + enforce in CI checks (#76) 2023-02-09 20:45:37 +01:00
.gitignore fix: add restart activation AAP-37681 (#410) 2025-03-20 10:17:21 +01:00
.gitleaks.toml tests: generate certs at test time using sscg (#433) 2025-05-19 15:37:10 +02:00
.pre-commit-config.yaml chore: disable mypy & pip-compile as pre-commit hook in PRs/pulls 2025-12-01 07:54:32 +01:00
.readthedocs.yaml fix: use Python 3.11 for RTD build 2026-03-10 18:23:36 +01:00
.tool-versions Generate CHANGELOG.md using github release-drafter (#300) 2024-09-04 11:00:06 +01:00
bindep.txt Make sanity jobs use containers (#280) 2024-08-23 13:22:43 +01:00
codecov.yml Enable coverage collecting and reporting (#250) 2024-08-14 09:38:51 +01:00
CONTRIBUTING.md docs: fix outdated ansible-rulebook docs link (#412) 2025-03-14 15:00:48 -03:00
cspell.config.yaml Integrate antibull-changelog (#297) 2024-09-03 07:35:50 -07:00
galaxy.yml chore: bump to 2.11.0 2026-02-12 14:03:01 +01:00
LICENSE Adds Apache 2.0 license file 2022-11-02 13:09:43 -04:00
pyproject.toml chore: disable pylint too-many-positional-arguments 2025-05-22 08:51:07 +02:00
README.md add support statement (#512) 2026-02-13 08:08:35 +01:00
requirements.txt fix: add support for Kafka GSSAPI (#398) 2025-03-10 19:24:24 -04:00
tox.ini [AAP-64255] Add auto-sync parameters to project and activation modules (#513) 2026-03-19 18:36:35 +00:00

Collection for Event-Driven Ansible

This collection contains event source plugins, event filters and example rulebooks to be used with ansible-rulebook.

galaxy tox codecov

Description

The primary purpose of this collection is to reduce manual tasks and deliver more efficient mission-critical workflows. By leveraging this collection, organizations can automate a variety of error-prone and time-consuming tasks and respond to changing conditions in any IT domain across IT environments for better agility and resiliency.

Important: Plugin Migration

Several event sources and event filters have been migrated from this collection to ansible-rulebook as builtins. Users should update their rulebooks to use the eda.builtin namespace.

Migrated Event Sources

  • ansible.eda.pg_listenereda.builtin.pg_listener
  • ansible.eda.genericeda.builtin.generic
  • ansible.eda.rangeeda.builtin.range
  • ansible.eda.webhookeda.builtin.webhook

Migrated Event Filters

  • ansible.eda.insert_hosts_to_metaeda.builtin.insert_hosts_to_meta
  • ansible.eda.json_filtereda.builtin.json_filter
  • ansible.eda.normalize_keyseda.builtin.normalize_keys
  • ansible.eda.dashes_to_underscoreseda.builtin.dashes_to_underscores

Note: For backwards compatibility, these plugins remain available in the ansible.eda namespace and are automatically mapped to eda.builtin. However, they are no longer actively maintained in this collection. Please update your rulebooks to use the eda.builtin versions.

Deprecated Event Sources

  • ansible.eda.aws_cloudtrailamazon.aws.aws_cloudtrail
  • ansible.eda.aws_sqs_queueamazon.aws.aws_sqs_queue
  • ansible.eda.azure_service_busazure.azcollection.azure_service_bus
  • ansible.eda.filecommunity.eda.file
  • ansible.eda.file_watchcommunity.eda.file_watch
  • ansible.eda.journaldcommunity.eda.journald
  • ansible.eda.tick → use either eda.builtin.generic or eda.builtin.range
  • ansible.eda.url_checkcommunity.eda.url_check

Deprecated Event Filters

  • ansible.eda.noop -- no replacement for it, simply stop using it

Requirements

Ansible version compatibility

Tested with the Ansible Core >= 2.15.0 versions, and the current development version of Ansible. Ansible Core versions before 2.15.0 are not supported.

Python version compatibility

This collection requires Python 3.9 or greater.

Additional dependencies

This collection requires ansible-rulebook 1.0.0 or greater.

Installation

The ansible.eda collection can be installed with the Ansible Galaxy command-line tool:

ansible-galaxy collection install ansible.eda

You can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:

---
collections:
  - name: ansible.eda

Note that if you install any collections from Ansible Galaxy, they will not be upgraded automatically when you upgrade the Ansible package. To upgrade the collection to the latest available version, run the following command:

ansible-galaxy collection install ansible.eda --upgrade

A specific version of the collection can be installed by using the version keyword in the requirements.yml file:

---
collections:
  - name: ansible.eda
    version: 1.0.0

or using the ansible-galaxy command as follows

ansible-galaxy collection install ansible.eda:==1.0.0

The Python module dependencies are not installed by ansible-galaxy. They must be installed manually using pip:

pip install -r requirements.txt

Refer to the following for more details.

Use Cases

You can either call modules, rulebooks and playbooks by their Fully Qualified Collection Name (FQCN), such as ansible.eda.activation, or you can call modules by their short name if you list the ansible.eda collection in the playbook's collections keyword:

---
  - name: Create a rulebook activation
    ansible.eda.rulebook_activation:
      name: "Example Activation"
      description: "Example Activation description"
      project: "Example Project"
      rulebook_name: "basic_short.yml"
      decision_environment_name: "Example Decision Environment"
      enabled: False
      awx_token_name: "Example AWX Token"

  - name: Get information about the rulebook activation
    ansible.eda.rulebook_activation_info:
      name: "Example Activation"

  - name: Delete rulebook activation
    ansible.eda.rulebook_activation:
      name: "Example Activation"
      state: absent

Contributing

We welcome community contributions to this collection. If you find problems, please open an issue or create a PR against the Event-Driven Ansible collection repository. See CONTRIBUTING.md for more details.

More information about contributing

Support

If you installed this collection from either from Galaxy or GitHub, there may community help available on the Ansible Forum.

Red Hat customers are entitled to support for certified content through Ansible Automation Platform (AAP) using the Create issue button on the top right corner.

Release notes

See Documentation tab on Automation Hub.

License Information

See LICENSE to see the full text.