Curated set of Event-Driven Ansible content
The following set of content is included within this collection:
Name | Description |
---|---|
sabre1041.eda.k8s | Respond to events within a Kubernetes cluster. |
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:
Apache 2.0