Organize rulebooks for event-driven automation
Projects are a logical collection of rulebooks. They must be a git repository and located in the path defined for Event-Driven Ansible content in Ansible collections: /extensions/eda/rulebooks at the root of the project.
To meet high availability demands, Event-Driven Ansible controller shares centralized Redis (REmote DIctionary Server) with the Ansible Automation Platform UI. When Redis is unavailable, you will not be able to create or sync projects.
Set up a new project Copy linkLink copied!
Set up a project to connect Event-Driven Ansible controller to a Git repository, enabling it to pull, sync, and manage the rulebooks used by your automation.
Before you begin Copy linkLink copied!
- You are logged in to the Ansible Automation Platform Dashboard as a Content Consumer.
- You have set up a credential, if necessary. For more information, see the Setting up credentials section.
- You have an existing repository containing rulebooks.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
Your project is now created and can be managed in the Projects page.
After saving the new project, the project’s details page is displayed. From there or the Projects list view, you can edit or delete it.
Projects list view Copy linkLink copied!
The Projects list view provides a quick dashboard to verify rulebook sync status, track content via the Git hash, and manage repository access.
If a rulebook changes in source control, you can re-sync a project by selecting the sync icon next to the project from the Projects list view. The Git hash updates represent the latest commit on that repository. An activation must be restarted or recreated if you want to use the updated project.
Edit a project Copy linkLink copied!
Edit project details (like the source repository URL or credential) to manage where Event-Driven Ansible fetches its rulebooks from and how it authenticates.
Procedure Copy linkLink copied!
Delete a project Copy linkLink copied!
Use the platform gateway interface to delete a project that is no longer required from Event-Driven Ansible controller.
Before you begin Copy linkLink copied!
- A project is not currently linked to any rulebook activation.
About this task Copy linkLink copied!
You cannot delete a project if it is still being used by a rulebook activation.