diff --git a/changelogs/fragments/7140-id-getmanagerinv-output.yml b/changelogs/fragments/7140-id-getmanagerinv-output.yml new file mode 100644 index 00000000000..e3cb1b52533 --- /dev/null +++ b/changelogs/fragments/7140-id-getmanagerinv-output.yml @@ -0,0 +1,2 @@ +minor_changes: + - redfish_info - report ``Id`` in the output of ``GetManagerInventory`` (https://github.com/ansible-collections/community.general/pull/7140). diff --git a/plugins/module_utils/redfish_utils.py b/plugins/module_utils/redfish_utils.py index 446d3daf7e7..6557dac5bda 100644 --- a/plugins/module_utils/redfish_utils.py +++ b/plugins/module_utils/redfish_utils.py @@ -3349,7 +3349,7 @@ def get_manager_inventory(self, manager_uri): 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)