Skip to content

Commit 105840d

Browse files
authoredFeb 19, 2024
Create run-task.yml
1 parent ae91426 commit 105840d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
 

‎playbooks/run-task.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
- name: local event-driven-ansible test
3+
hosts: localhost
4+
tasks:
5+
- name: Print Dynatrace event
6+
debug:
7+
msg: "{{ ansible_eda.event }}"
8+
- name: "Here could be your ansible task for resolving the problem"
9+
debug:
10+
msg: "Resolve problem for the following affected entities {{ ansible_eda.event.title }}"
11+

0 commit comments

Comments
 (0)
Please sign in to comment.