Update condition and source
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
hosts: all
|
||||
sources:
|
||||
- name: Ansible Alertmanager listener
|
||||
ansible.eda.webhook:
|
||||
ansible.eda.alertmanager:
|
||||
port: 9101
|
||||
host: 0.0.0.0
|
||||
rules:
|
||||
- name: Run Template
|
||||
condition: True == True
|
||||
condition: event.alert.labels.org == "OYS"
|
||||
action:
|
||||
debug:
|
||||
var: event
|
||||
|
||||
Reference in New Issue
Block a user