Add Snow Instance info

This commit is contained in:
2024-04-17 15:31:47 -04:00
parent 28c0cd80e4
commit de71c93bdc

View File

@@ -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: