Users Guide

Table Of Contents
Table 54. ome_profile (continued)
Parameter Required Default Choices Comments
Provides the
different shut
down options.
This is applicable
when
I(command) is
C(assign).
Schedule:
Schedule for
profile
deployment.
This is applicable
when
I(command) is
C(assign).
Return Values
msg:
description: Overall status of the profile operation.
returned: always
type: str
sample: "Successfully created 2 profile(s)."
profile_ids:
description: IDs of the profiles created.
returned: when I(command) is C(create)
type: list
sample: [1234, 5678]
job_id:
description:
- Task ID created when I(command) is C(assign), C(migrate) or C(unassign).
- C(assign) and C(unassign) operations do not trigger a task if a profile is auto-
deployed.
returned: when I(command) is C(assign), C(migrate) or C(unassign)
type: int
sample: 14123
error_info:
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 two profiles from a template
dellemc.openmanage.ome_profile:
hostname: "192.168.0.1"
username: "username"
password: "password"
template_name: "template 1"
Modules for OpenManage Enterprise (OME)
143