community.general/lib/ansible/modules/remote_management
Beni Cherniavsky-Paskin 0c5f03d3f4 manageiq_provider: don't send top-level null fields on creation (#38448)
* manageiq_provider: method docstrings fixes

* manageiq_provider: refactoring step towards DRY

`resource` is now same in `edit_provider()` and `create_provider()`,
to be extracted to main later.

* manageiq_provider: Fix creation of openshift provider

Fixes #38331.
Sending `api_version` to openshift provider would cause error:
"OpenShift api_version cannot be modified"
due to https://github.com/ManageIQ/manageiq-providers-kubernetes/blob/gaprindashvili-2/app/models/manageiq/providers/kubernetes/container_manager.rb#L37

In `edit_provider` we `delete_nulls()` on the whole data being sent
so `api_version` was omitted if not specified.
In `create_provider()` we only did it on endpoints list so `api_version`
was always sent - now doing on whole data.
2018-04-08 12:36:51 -04:00
..
foreman foreman: PEP8 compliancy and doc fixes (#30910) 2017-10-03 09:50:27 +02:00
hpilo Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
imc Module DOCUMENTATION should match argspec (#34895) 2018-01-16 12:18:51 +00:00
ipmi Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
manageiq manageiq_provider: don't send top-level null fields on creation (#38448) 2018-04-08 12:36:51 -04:00
oneview DatacenterFactsModule for HPE OneView (#32701) 2017-11-28 13:49:51 +00:00
stacki stacki_host: PEP8 compliancy and documentation changes (#32651) 2017-11-08 23:16:49 +01:00
ucs Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
__init__.py
wakeonlan.py