community.general/lib/ansible/module_utils
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
..
aws [aws] Add missing methods to AnsibleAWSModule (#42679) 2018-07-12 09:47:28 -04:00
common Provide kubernetes definition diffs in check_mode (#41471) 2018-07-11 16:32:03 +10:00
compat Adds the ipaddress compat library backport from Python 3.x (#42265) 2018-07-17 11:37:23 -07:00
facts fix fedora version dnf fact, default pkg_mgr detection per distro family (#43261) 2018-07-25 16:20:07 -07:00
k8s Add merge_type parameter to k8s module (#42219) 2018-07-22 21:05:25 -07:00
net_tools Add the NIOS RECORD PTR Module (#41900) 2018-07-11 23:55:28 +05:30
network Lenovo port to persistence 1 (#43194) 2018-07-27 10:47:02 -04:00
parsing
powershell Make the code more PowerShell compliant (#39464) 2018-07-16 11:34:01 +10:00
remote_management
six
__init__.py
_text.py
acme.py ACME modules: documentation improvements (#42165) 2018-07-04 15:22:11 +02:00
ansible_release.py [AWS] Add Ansible Version to botocore user agent string (#39993) 2018-05-17 11:41:14 -04:00
ansible_tower.py Fix tower_* modules **params kwargs (#40137) 2018-05-25 18:03:12 -05:00
api.py
azure_rm_common.py fixing aiuth source (#42923) 2018-07-27 14:48:17 +08:00
azure_rm_common_rest.py introducing azure_rm_resource (#39274) 2018-05-23 16:55:57 -07:00
basic.py AnsiballZ improvements 2018-07-26 20:07:25 -07:00
cloud.py
cloudscale.py
cloudstack.py cloudstack: fix query tags by resourceid (#40482) 2018-05-21 17:16:44 +02:00
connection.py Let called functions use `method` keyword (#43086) 2018-07-22 15:26:44 -04:00
crypto.py
database.py
digital_ocean.py
dimensiondata.py
docker_common.py Fix ssl_version default value. (#42955) 2018-07-20 11:32:04 -04:00
ec2.py [AWS] Add Ansible Version to botocore user agent string (#39993) 2018-05-17 11:41:14 -04:00
exoscale.py
f5_utils.py
firewalld.py
gcdns.py
gce.py
gcp.py
gcp_utils.py GCP Inventory Plugin scopes fix 2018-06-08 13:04:37 -07:00
gitlab.py Fix shebangs and file modes and update tests. (#40563) 2018-05-22 14:25:36 -07:00
heroku.py New module: heroku_collaborator (#39001) 2018-05-22 11:50:53 +02:00
infinibox.py
influxdb.py
ipa.py FreeIPA: new module ipa_config (#42279) 2018-07-17 06:57:54 -04:00
ismount.py
json_utils.py
keycloak.py
known_hosts.py
ldap.py
lxd.py
manageiq.py Fix shebangs and file modes and update tests. (#40563) 2018-05-22 14:25:36 -07:00
memset.py New Memset module to request DNS reloads (#40390) 2018-05-25 00:30:25 +02:00
mysql.py
netapp.py Add Na_ontap_broadcast_domain module. (#39753) 2018-05-18 17:17:01 -07:00
oneandone.py
oneview.py
opennebula.py Fix opennebula test stub (#40436) 2018-05-25 07:42:14 +02:00
openstack.py openstack: Correct fail_json call in module_utils (#41064) 2018-06-04 10:18:15 +02:00
ovirt.py Fix PEP 8 issue. 2018-05-23 09:29:37 -07:00
postgres.py
pure.py
pycompat24.py
rax.py
redfish_utils.py Add new module for Redfish APIs (#41656) 2018-07-27 12:21:25 -04:00
redhat.py
scaleway.py
service.py sysvinit service module (#34962) 2018-05-17 17:32:27 -05:00
splitter.py
univention_umc.py
urls.py Only assume GET if no data, otherwise POST (#43133) 2018-07-23 07:30:10 -07:00
vca.py
vmware.py VMware: handle special characters in datacenter name (#42922) 2018-07-27 12:17:10 +05:30
vmware_rest_client.py
vultr.py Vultr: Introducing vr_sshkey_facts module (#42615) 2018-07-18 09:53:58 +02:00