summaryrefslogtreecommitdiffstats
path: root/examples/rulebooks
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rulebooks')
-rw-r--r--examples/rulebooks/rulebook-fail.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/rulebooks/rulebook-fail.yml b/examples/rulebooks/rulebook-fail.yml
index 11472b4..b08cd03 100644
--- a/examples/rulebooks/rulebook-fail.yml
+++ b/examples/rulebooks/rulebook-fail.yml
@@ -1,8 +1,8 @@
---
- name: Sample rulebooks
hosts: all
- that_should_not_be_here: foo
- sources: # should be "sources"
+ that_should_not_be_here: foo # <-- this is not supported
+ sources: # <-- should be "sources"
- name: listen for alerts
ansible.eda.alertmanager:
host: 0.0.0.0
@@ -18,4 +18,4 @@
- name: debug
condition: event.alert.labels.job == "fastapi"
action:
- debug: sss
+ debug: sss # <-- this should be an object