Add more information
This commit is contained in:
@@ -28,4 +28,22 @@
|
||||
impact: high
|
||||
urgency: high
|
||||
delegate_to: localhost
|
||||
|
||||
register: incident_result
|
||||
|
||||
- name: Create SNow Problem
|
||||
servicenow.itsm.problem:
|
||||
state: new
|
||||
short_description: "{{ alertmanager_annotations.summary }}"
|
||||
description: "Generator URL: {{ alertmanager_generator_url }}"
|
||||
impact: high
|
||||
urgency: high
|
||||
other:
|
||||
user_input: "Information from Ansible: {{ incident_report }}"
|
||||
register: problem_result
|
||||
|
||||
- name: Update Incident
|
||||
servicenow.itsm.incident:
|
||||
state: in_progress
|
||||
number: "{{ incident_result.record.number }}"
|
||||
other:
|
||||
problem_id: "{{ problem_result.record.number }}"
|
||||
|
||||
Reference in New Issue
Block a user