跳到正文
FunCoding

aap-eda

Event-Driven Ansible (EDA) — activation lifecycle, rulebook management, decision environments, event stream monitoring. Use when managing event-driven automation triggers, enabling/disabling activations, or reviewing EDA rulebooks.

Star
740
许可证
Apache-2.0
最近提交
2026年11月30日

workspace/skills/aap-eda/SKILL.md

在 GitHub 上查看

Event-Driven Ansible (EDA) Operations

MCP Server

  • Repository: sibilleb/AAP-Enterprise-MCP-Server
  • Transport: stdio (Python via uv run eda.py)
  • Install: git clone + uv sync (or pip install -e .)
  • Requires: EDA_URL, EDA_TOKEN

Available Tools (12)

Activation Management (7)

ToolWhat It Does
list_activationsList all activations in EDA
get_activationRetrieve details for a specific activation by ID
create_activationCreate a new activation
enable_activationEnable a disabled activation
disable_activationDisable an active activation
restart_activationRestart an activation
delete_activationDelete an activation

Rulebooks & Environments (3)

ToolWhat It Does
list_rulebooksList all rulebooks in EDA
get_rulebookRetrieve details of a specific rulebook
list_decision_environmentsList all decision environments

Event Streams & Environments (2)

ToolWhat It Does
create_decision_environmentAdd a new decision environment
list_event_streamsList all event streams

Key Concepts

ConceptWhat It Means
EDAEvent-Driven Ansible — reactive automation triggered by events
ActivationA running instance of a rulebook processing events
RulebookYAML-defined rules mapping events to Ansible actions
Decision EnvironmentContainer image with collections and dependencies for EDA
Event StreamSource of events fed into EDA for processing

Workflow: Activation Management

  1. List activations: list_activations — see all current activations and their state
  2. Inspect: get_activation — review activation details (rulebook, decision env, status)
  3. Lifecycle: enable_activation, disable_activation, restart_activation as needed
  4. Report: Activation health summary

Workflow: Event-Driven Automation Audit

  1. List activations: list_activations — enumerate all EDA activations
  2. List rulebooks: list_rulebooks — review available automation rules
  3. Check environments: list_decision_environments — verify container images
  4. Monitor streams: list_event_streams — confirm event sources are active
  5. Report: EDA health, dormant activations, orphaned rulebooks

Integration with Other Skills

SkillHow They Work Together
aap-automationEDA triggers → AAP job template execution
aap-lintValidate rulebook playbook actions before activation
servicenow-change-workflowServiceNow CR before enabling EDA activations in production
gait-session-trackingAudit trail for EDA lifecycle changes
slack-network-alertsEDA event notifications via Slack

Environment Variables

  • EDA_URL — EDA API endpoint (e.g., https://aap.example.com/api/eda/v1)
  • EDA_TOKEN — EDA API token (can match AAP_TOKEN)

Important Rules

  • Activations process events in real-time — disabling/enabling affects live automation
  • ServiceNow CR — gate activation changes behind change requests in production
  • Record in GAIT — log all EDA operations for audit trail

Failure Behavior

  • If a tool call fails with an authentication or connection error, check that EDA_TOKEN, EDA_URL are set and valid before assuming a data or device problem.
  • On a tool error (timeout, unreachable host, malformed response), report the failure and its error message directly to the user rather than fabricating or guessing at results.
  • Do not automatically retry a write/mutating operation after a failure — surface the error and get explicit confirmation before retrying, since a blind retry on a partially-applied change can leave state inconsistent.

相似的 Skill

精选

internal-comms

写内部沟通文档,遵循公司格式,包括状态报告、领导更新和公司通讯。

ANanthropics/skills203k近 7 天新增 2,822 个 star

canary

GAgarrytan/gstack143k近 7 天新增 524 个 star

observability-and-instrumentation

ADaddyosmani/agent-skills122k近 7 天新增 1,421 个 star

精选

shipping-and-launch

上线前逐项检查,规划监控、分阶段发布和回滚方案。

ADaddyosmani/agent-skills122k近 7 天新增 1,421 个 star

paperclip-board

PApaperclipai/paperclip119k近 7 天新增 1,727 个 star

ruview-configure

RUruvnet/RuView106k近 7 天新增 596 个 star