dellemc-openmanage-ansible-modules
dellemc-openmanage-ansible-modules copied to clipboard
Fix Report when selecting a single device
SUMMARY
after checking the device id, we can directly get the report for the device instead of getting the whole report and then looping through all the devices.
Fixes #425
ISSUE TYPE
- Bugfix Pull Request
COMPONENT NAME
ome_configuration_compliance_info
ISSUES
if more than 20 devices in a group, it's not working when selecting a single device
OUTPUT
TASK [Retrieve compliance report for baseline] ***************************************************************************************************
ok: [server1-> localhost]
TASK [debug] *************************************************************************************************************************************
ok: [server1] => (item=BIOS) => {
"msg": "3"
}
ok: [server1] => (item=NIC) => {
"msg": "2"
}