mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #7140/5fcb98cd backport][stable-7] redfish_info: Report Id in GetManagerInventory output (#7153)
redfish_info: Report Id in GetManagerInventory output (#7140)
(cherry picked from commit 5fcb98cd3f
)
Co-authored-by: smiller248 <136365984+smiller248@users.noreply.github.com>
This commit is contained in:
parent
a27025946b
commit
cffc3dad11
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/7140-id-getmanagerinv-output.yml
Normal file
2
changelogs/fragments/7140-id-getmanagerinv-output.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- redfish_info - report ``Id`` in the output of ``GetManagerInventory`` (https://github.com/ansible-collections/community.general/pull/7140).
|
|
@ -3349,7 +3349,7 @@ class RedfishUtils(object):
|
|||
result = {}
|
||||
inventory = {}
|
||||
# Get these entries, but does not fail if not found
|
||||
properties = ['FirmwareVersion', 'ManagerType', 'Manufacturer', 'Model',
|
||||
properties = ['Id', 'FirmwareVersion', 'ManagerType', 'Manufacturer', 'Model',
|
||||
'PartNumber', 'PowerState', 'SerialNumber', 'Status', 'UUID']
|
||||
|
||||
response = self.get_request(self.root_uri + manager_uri)
|
||||
|
|
Loading…
Reference in a new issue