1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible/modules
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
..
cloud VMware Module - vmware_guest_move (#42149) 2018-07-27 20:21:45 +05:30
clustering Add merge_type parameter to k8s module (#42219) 2018-07-22 21:05:25 -07:00
commands Enable check_mode in command module (#40428) 2018-07-23 14:06:41 -07:00
crypto Validate and reject if csr_path is not supplied when provider is not assertonly (#41385) 2018-07-27 05:24:51 -04:00
database Add src parameter to elasticsearch_plugin (#39915) 2018-07-20 11:40:11 -04:00
files Allow specifying the output encoding in the template module (#42171) 2018-07-25 13:10:40 -07:00
identity FreeIPA: new module ipa_config (#42279) 2018-07-17 06:57:54 -04:00
inventory Fix typo in group_by module (#41627) 2018-06-18 15:33:08 +05:30
messaging rabbitmq_user: Add update_password parameter (#36280) 2018-05-23 14:34:46 -05:00
monitoring Fix zabbix-template module error version comparison (#39199) 2018-07-27 00:18:02 -04:00
net_tools Fix cloudflare_dns proxied change detection (#43096) 2018-07-27 09:27:05 +05:30
network Lenovo port to persistence 1 (#43194) 2018-07-27 10:47:02 -04:00
notification Add support for espeak-ng. Closes #42438 2018-07-10 15:53:00 -04:00
packaging Yum: Add support for --downloadonly (#41506) 2018-07-18 23:34:54 -04:00
remote_management Add new module for Redfish APIs (#41656) 2018-07-27 12:21:25 -04:00
source_control Fixed typo in gitlab_group (#41349) 2018-07-23 22:20:36 +05:30
storage Fix API call to get ActiveCluster information and add (#41744) 2018-06-22 10:46:02 -05:00
system Documentation change for resizefs (#43224) 2018-07-25 00:22:24 +02:00
utilities Fix typo in ignore_unknown_extensions doc 2018-07-26 09:28:33 -04:00
web_infrastructure Version must be quoted (otherwise it is printed as 2.1) (#42496) 2018-07-09 06:53:59 -04:00
windows Removed deprecated Windows items slated for removed in 2.7 (#43231) 2018-07-25 12:02:49 +10:00
__init__.py Re-adding the init py for modules 2016-12-08 11:35:20 -05:00