Add Snow Instance info
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|
||||
- name: Create SNow Incident
|
||||
servicenow.itsm.incident:
|
||||
instance: '{{ snow_instance }}'
|
||||
state: new
|
||||
caller: "admin"
|
||||
short_description: "CPUHog event detected on: {{ ansible_eda.event.alert.labels.instance }}"
|
||||
@@ -32,6 +33,7 @@
|
||||
|
||||
- name: Create SNow Problem
|
||||
servicenow.itsm.problem:
|
||||
instance: '{{ snow_instance }}'
|
||||
state: new
|
||||
short_description: "{{ alertmanager_annotations.summary }}"
|
||||
description: "Generator URL: {{ alertmanager_generator_url }}"
|
||||
@@ -43,6 +45,7 @@
|
||||
|
||||
- name: Update Incident
|
||||
servicenow.itsm.incident:
|
||||
instance: '{{ snow_instance }}'
|
||||
state: in_progress
|
||||
number: "{{ incident_result.record.number }}"
|
||||
other:
|
||||
|
||||
Reference in New Issue
Block a user