Users Guide

Table Of Contents
"CreationTime": "2021-01-01 10:10:10.100",
"DefinitionDescription": "UserDefined",
"DefinitionId": 400,
"GlobalStatus": 5000,
"HasAttributes": false,
"UpdatedBy": "",
"UpdatedTime": "2021-01-01 11:11:10.100",
"Visible": true
}
group_ids:
type: list
elements: int description: List of the deleted device group IDs.
returned: when I(state) is C(absent)
sample: [1234, 5678]
invalid_groups:
type: list
elements: str
description: List of the invalid device group IDs or names.
returned: when I(state) is C(absent)
sample: [1234, 5678]
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": "CGRP9013",
"RelatedProperties": [],
"Message": "Unable to update group 12345 with the provided parent
54321 because a group/parent
relationship already exists.",
"MessageArgs": [
"12345",
"54321"
],
"Severity": "Warning",
"Resolution": "Make sure the entered parent ID does not create a
bidirectional relationship and retry
the operation."
}
]
}
}
Examples
- name: Create a new device group
dellemc.openmanage.ome_groups:
hostname: "192.168.0.1"
username: "username"
password: "password"
name: "group 1"
description: "Group 1 description"
parent: "group parent 1"
- name: Modify a device group using the group ID
dellemc.openmanage.ome_groups:
hostname: "192.168.0.1"
username: "username"
password: "password"
group_id: 1234
description: "Group description updated"
parent: "group parent 2"
- name: Delete a device group using the device group name
dellemc.openmanage.ome_groups:
66
Modules for OpenManage Enterprise (OME)