Users Guide
Parameter Required Default Choices Comments
• lter: For C(basic_inventory), it lters the
collection of devices. I(lter) query format
should be aligned with OData standards.
Return Values
msg:
type: str
description: Over all device_facts status.
returned: on error
sample: "Failed to fetch the device facts"
ansible_facts:
type: dict
description: Device inventory details.
returned: success
sample: {
"value": [
{
"Actions": null,
"AssetTag": null,
"ChassisServiceTag": null,
"ConnectionState": true,
"DeviceManagement": [
{
"DnsName": "dnsname.host.com",
"InstrumentationName": "MX-12345",
"MacAddress": "11:10:11:10:11:10"
"ManagementId": 12345,
"ManagementProfile": [
{
"HasCreds": 0,
"ManagementId": 12345,
"ManagementProfileId": 12345,
"ManagementURL": "https://192.168.0.1:443",
"Status": 1000,
"StatusDateTime": "2019-01-21 06:30:08.501"
}
],
"ManagementType": 2,
"NetworkAddress": "192.168.0.1"
}
],
"DeviceName": "MX-0003I",
"DeviceServiceTag": "MXL1234",
"DeviceSubscription": null,
"LastInventoryTime": "2019-01-21 06:30:08.501",
"LastStatusTime": "2019-01-21 06:30:02.492",
"ManagedState": 3000,
"Model": "PowerEdge MX7000",
"PowerState": 17,
"SlotConfiguration": {},
"Status": 4000,
"SystemId": 2031,
"Type": 2000
}
]
}
Examples
- name: Retrieve basic inventory of all devices.
dellemc_ome_device_facts:
hostname: "192.168.0.1"
username: "username"
password: "password"
Modules for OpenManage Enterprise (OME)
53