forked from ansible/ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix redfish_facts GetPsuInventory command not returning correct output (
ansible#52675) * Move GetPsuInventory from Systems category to Chassis category * Change get_psu_inventory to search through Chassis instead of Systems and PoweredBy for PowerSupplies * Remove GetPsuInventory from Examples * remove trailing whitespace * Change boolean check from '!= None' to 'is not None' * Don't include 'Absent' PSUs in get_psu_inventory() * Add check to see if Power key is in Chassis before proceeding * remove trailing whitespace * Add continue step for when powersupply property is not found, and check if resulting entries is empty, returning message if nothing was found rather than an empty list
- Loading branch information
Showing
2 changed files
with
40 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters