mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
779d273192
* Add new module for Redfish APIs Communicates with Out-Of-Band Controller through Redfish APIs Module gathers hardware information and sends back * Removed unused library imports * Removed token entry from headers * Made 'command' optional and defined default value for each 'category' * Replace 'result' with 'ansible_facts' for returned dict variable * Removed unused variable definitions and library imports * Renamed dicts where data is returned. Should make it easier to sort through returned data that is placed in one file. * Defined dicts to specify available categories and commands in each one. - Allows specifying default command for each category - Allows specifying all commands for each category - Removed Inventory category and moved commands to System category - Renamed dicts where data is returned to allow to dump more than one in a file * Remove choice[] since it's redundant * Added flexibility when specifying categories - If a category is not specified, it sets a default value - Can handle more than one category - Will accept value "all" for category which will set to all available - Renamed category System to Systems to better reflect Redfish API * Defined default category in a variable * Made category argument a list * Added examples * Made command argument a list * Replaced 'ansible_facts' with 'redfish_facts' for returned dict variable. * Added default value for category in documentation * Moving redfish_facts inside ansible_facts * Updated how results dicts are constructed, where applicable * Improved error messages * Removed unused variables * Undo commit 66a7dcd789726913bdb7a25e59cc3aa2125db95d due to variable 'e' oversight |
||
---|---|---|
.. | ||
ansible |