Users Guide
Template operations
Module: ome_template
Synopsis
This module creates, modifies, deploys, deletes, exports, imports, or clones a template.
Options
Table 59. ome_template
Parameter Required Default Choices Comments
hostname True NA NA Target IP Address or hostname
username True NA NA Target username
password True NA NA Target user password
port False 443 NA Target device HTTPS port
command False create
create, modify,
deploy, delete,
export, import
or clone.
• C(create) creates a new template.
• C(modify) modifies an existing template.
• C(deploy) creates a template-deployment job.
• C(delete) deletes an existing template.
• C(export) exports an existing template.
• C(import) creates a template from a specified
configuration text in SCP XML format.
• C(clone) creates a clone of an existing template.
template_id False NA NA
• ID of the existing template.
• This option is applicable when I(command) is
C(modify), C(deploy), C(delete) and C(export).
• It is mutually exclusive with I(template_name).
template_name False NA NA
• Name of the existing template.
• This option is applicable when I(command) is
C(modify), C(deploy), C(delete).
• It is mutually exclusive with I(template_name).
device_id False [ ] NA
• Specify the list of targeted device IDs when
I(command) is C(deploy). When I (Command) is
C(create), specify a single device ID.
• Either I(device_id), or I(device_service_tag) can be
used individually or together.
device_service_tag False [ ] NA
• Specify the list of targeted device service tags when I
(command) is C(deploy). When I(Command) is
C(create), specify the service tag of a single device.
• Either I(device_id), or I(device_service_tag) can be
used individually or together.
template_view_type False Deployment
Deployment,
Compliance,
Inventory,
Sample, or None
• Select the type of view of the OME template.
• This is applicable when I(command) is C(create),
C(clone), or C(import).
attributes No { } NA
Payload data for the template operations. All the
variables in this option are added as payload for
C(create), C(modify), C(deploy), C(import), and
C(clone) operations. It takes the following attributes.
Modules for OpenManage Enterprise (OME) 65