community.general/lib/ansible
Jose Delarosa 779d273192 Add new module for Redfish APIs (#41656)
* 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
2018-07-27 12:21:25 -04:00
..
cli import_playbook is not usable from inside a play 2018-07-24 13:25:12 -04:00
compat Enable wildcard import pylint (#35786) 2018-02-06 15:17:49 -08:00
config Allow to specifically customize console's color 2018-07-24 13:21:58 -04:00
errors give hint to users when a file is not found 2018-04-10 17:19:03 -04:00
executor Switch to imp.load_module 2018-07-26 20:07:25 -07:00
galaxy Fix invalid Dockerfile created by "galaxy init --type apb" (#42017) 2018-07-17 08:11:42 +05:30
inventory Error on empty group/host name (#42584) 2018-07-12 09:59:00 -04:00
module_utils Add new module for Redfish APIs (#41656) 2018-07-27 12:21:25 -04:00
modules Add new module for Redfish APIs (#41656) 2018-07-27 12:21:25 -04:00
parsing vault: check dir value before passing (#43184) 2018-07-24 16:27:17 +05:30
playbook Remove dead 'vault_password' play attribute (#41847) 2018-07-25 12:01:10 -05:00
plugins fixes #42042 (#42939) 2018-07-27 10:02:34 -04:00
template When using ANSIBLE_JINJA2_NATIVE bypass our None filtering in _finalze (#41408) 2018-06-12 08:46:23 -05:00
utils Ironware: Deprecate provider, support network_cli (#43285) 2018-07-27 12:51:45 +05:30
vars Mark vars from facts cache as unsafe (fixes #42656) (#42682) 2018-07-13 11:15:03 -05:00
__init__.py
constants.py Fix fact cleaning (#42595) 2018-07-12 16:12:42 -04:00
release.py update 2.7 codename 2018-05-31 15:46:07 -07:00