From 30edafabe72dd51d24ba7c391abf9c0704ed6050 Mon Sep 17 00:00:00 2001 From: danxg87 Date: Sat, 2 Dec 2023 14:56:21 -0500 Subject: [PATCH] add BootProgress property to redfish_info (#7626) * add BootProgress property to redfish_info changelog update changelog wording for end users * Update changelog fragment. --------- Co-authored-by: dgeorge Co-authored-by: Felix Fontein --- .../fragments/7626-redfish-info-add-boot-progress-property.yml | 2 ++ plugins/module_utils/redfish_utils.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/7626-redfish-info-add-boot-progress-property.yml diff --git a/changelogs/fragments/7626-redfish-info-add-boot-progress-property.yml b/changelogs/fragments/7626-redfish-info-add-boot-progress-property.yml new file mode 100644 index 0000000000..919383686b --- /dev/null +++ b/changelogs/fragments/7626-redfish-info-add-boot-progress-property.yml @@ -0,0 +1,2 @@ +minor_changes: + - redfish_info - adding the ``BootProgress`` property when getting ``Systems`` info (https://github.com/ansible-collections/community.general/pull/7626). diff --git a/plugins/module_utils/redfish_utils.py b/plugins/module_utils/redfish_utils.py index a4fc5912c4..dadf12c33b 100644 --- a/plugins/module_utils/redfish_utils.py +++ b/plugins/module_utils/redfish_utils.py @@ -2955,7 +2955,7 @@ class RedfishUtils(object): result = {} inventory = {} # Get these entries, but does not fail if not found - properties = ['Status', 'HostName', 'PowerState', 'Model', 'Manufacturer', + properties = ['Status', 'HostName', 'PowerState', 'BootProgress', 'Model', 'Manufacturer', 'PartNumber', 'SystemType', 'AssetTag', 'ServiceTag', 'SerialNumber', 'SKU', 'BiosVersion', 'MemorySummary', 'ProcessorSummary', 'TrustedModules', 'Name', 'Id']