Users Guide
Table 60. dellemc_ome_template (continued)
Parameter Require
d
Default Choices Comments
template_id No NA NA
Unique ID of the template to be modified or deployed. This option
is mandatory for C(modify) and C(deploy) operations.
device_id No [ ] NA
List of targeted device id(s) for C(deploy) or a single id for
C(create) operation. Either I(device_id) or I(device_service_tag)
is mandatory or both can be applicable.
device_service_ta
g
No [ ] NA
List of targeted device service tag(s) for C(deploy) or a single
service tag for C(create) operation. Either I(device_id) or
I(device_service_tag) is mandatory or both can be applicable.
template_view_ty
pe
No Deployment
• Deployment,
• Compliance
• Inventory
• Sample
• None
The features that support template operations. This is applicable
only for C(create) operation.
attributes No { } NA
• Name: Name of the template. This is mandatory for C(create)
and C(modify) operations.
• Description: Description of the template. This is applicable for
C(create) and C(modify) operations.
• Fqdds: This provides functionality to copy only certain areas of
system configuration from the specified reference server. One
or more of the following values may be specified in a comma-
separated string: iDRAC, System, BIOS, NIC,
LifeCycleController, RAID, EventFilters, All. Default value is 'All'.
This is applicable for C(create) operation.
• Options: Options to control device shutdown or end power
state during template deployment. This is applicable for
C(deploy) operation.
• Schedule: Options to schedule the deployment task
immediately or at a specified time. This is applicable for
C(deploy) operation.
• 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
modified 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": {
Modules for OpenManage Enterprise (OME)
71