Service ticket got created when giving severity as 4. in severity parameter Playbook- - name: Create a servicable event for collection of logs hosts: hmcs connection: local vars: curr_hmc_auth: username: password: tasks: - name: Create a serviceable event for collection of sys logs ibm.power_hmc.create_service_event: hmc_host: '{{ inventory_hostname }}' hmc_auth: "{{ curr_hmc_auth }}" system_name: description: Unable to click types: sys attributes: title: t@#% severity: 4. contact_name: Valluru contact_phone: "9381188493" contact_email: test@abc.com lpar_name: service_file: state: created
Service ticket got created when giving severity as 4. in severity parameter
Playbook-
name: Create a servicable event for collection of logs
hosts: hmcs
connection: local
vars:
curr_hmc_auth:
username:
password:
tasks:
ibm.power_hmc.create_service_event:
hmc_host: '{{ inventory_hostname }}'
hmc_auth: "{{ curr_hmc_auth }}"
system_name:
description: Unable to click
types: sys
attributes:
title: t@#%
severity: 4.
contact_name: Valluru
contact_phone: "9381188493"
contact_email: test@abc.com
lpar_name:
service_file:
state: created