mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
eb7190264e
* Add GetChassisPower as viable Chassis command in redfish_facts * Add conditional to catch command == 'GetChassisPower' * Implement get_chassis_power() retrieving Watts-related and other useful power data from each Chassis * Add RelatedItem property and remove MemberId property * Check for length of data['PowerControl'] to be > 0 before checking index 0 of the list. * Fix return statement being inside loop and result key not being 'entries' as is expected * Update lib/ansible/module_utils/redfish_utils.py Co-Authored-By: xmadsen <xander.madsen@gmail.com> * Update lib/ansible/module_utils/redfish_utils.py Co-Authored-By: xmadsen <xander.madsen@gmail.com> * Update redfish_facts.py |
||
---|---|---|
.. | ||
ansible |