Users Guide

Parameter Required Default Choices Comments
NetworkBootIsoModel: Payload to specify the ISO deployment
details. This is applicable for C(deploy) operation.
Attributes: list of dictionaries of attribute values (if any) to be
modied in the template to be deployed. This is applicable for
C(deploy) operation.
NOTE: See OpenManage Enterprise API Reference Guide
for more details.
Return Values
msg:
description: Overall status of the template operation.
returned: always
type: str
sample: "Successfully created a Template with id 123"
return_id:
description: id of the template for C(create) and C(modify) or task created in case of
C(deploy)
returned: success
type: int
sample: 124
template_status:
description: Details of the HTTP Error.
returned: on HTTP error
type: dict
sample: {
"error": {
"code": "Base.1.0.GeneralError",
"message": "A general error has occurred. See ExtendedInfo for more information.",
"@Message.ExtendedInfo": [
{
"MessageId": "GEN1234",
"RelatedProperties": [],
"Message": "Unable to process the request because an error occurred.",
"MessageArgs": [],
"Severity": "Critical",
"Resolution": "Retry the operation. If the issue persists, contact your system
administrator."
}
]
}
}
Examples
- name: create template.
dellemc_ome_template:
hostname: "192.168.0.1"
username: "username"
password: "password"
device_id: 25123
attributes:
Name: "New Template"
Description: "New Template description"
- name: modify template
dellemc_ome_template:
hostname: "192.168.0.1"
username: "username"
password: "password"
state: "modify"
template_id: 1234
attributes:
Name: "New Custom Template"
Description: "Custom Template Description"
Modules for OpenManage Enterprise (OME)
59