summaryrefslogtreecommitdiffstats
path: root/examples/rulebooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:57 +0000
commit1faea9a6c75f33109e8f66b57b432fdad57b3f46 (patch)
tree4184ce38ac0cf9d5a46bbbae03c87be82927f12b /examples/rulebooks
parentAdding upstream version 6.17.2. (diff)
downloadansible-lint-1faea9a6c75f33109e8f66b57b432fdad57b3f46.tar.xz
ansible-lint-1faea9a6c75f33109e8f66b57b432fdad57b3f46.zip
Adding upstream version 24.6.1.upstream/24.6.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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