Event-Driven Ansible - sabre1041.eda
Curated set of Event-Driven Ansible content
Included Content
The following set of content is included within this collection:
Event Sources
Name | Description |
---|---|
sabre1041.eda.k8s | Respond to events within a Kubernetes cluster. |
Usage
The following is an example of how to use the Kubernetes Event Source Plugin within an Ansible Rulebook:
- name: Listen for newly added ConfigMap resources
hosts: all
sources:
- sabre1041.eda.k8s:
api_version: v1
kind: ConfigMap
rules:
- name: Notify
condition: event.type == "ADDED"
action:
debug:
License
Apache 2.0