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/plugins
patchback[bot] 8ac8fa0aa9
Improved ModuleHelper.run_command() (#1867) (#1938)
* Improved run_command signature and behaviour

- extra_params has been removed from the signature
- params now can be either str or dict (containing the param value)

* Reverted the removal of the method parameter, and added changelog fragment

* Update changelogs/fragments/1867-modhelper-cmdmixin-dict-params.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/module_utils/module_helper.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* adjustement per PR

* Update plugins/module_utils/module_helper.py

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 585dd0b6ed)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2021-02-28 15:34:46 +01:00
..
action Bump version to 2.0.0 (#1369) 2020-11-26 14:26:36 +01:00
become <plugin_type>: -> name: (#1541) 2021-01-12 07:12:03 +01:00
cache fixed Python 3 keys() usage (#1861) (#1891) 2021-02-24 19:36:37 +01:00
callback fixed Python 3 keys() usage (#1861) (#1891) 2021-02-24 19:36:37 +01:00
connection Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1839) 2021-02-16 08:46:20 +01:00
doc_fragments Tidy up validate-modules:parameter-list-no-elements (batch 1) (#1795) (#1834) 2021-02-16 07:38:50 +01:00
filter Add version_sort filter to properly sort list of versions (#1916) (#1932) 2021-02-27 19:54:39 +01:00
inventory Proxmox inventory: Add some sanitization to url parameter (#1914) (#1931) 2021-02-27 17:23:02 +01:00
lookup fixed Python 3 keys() usage (#1861) (#1891) 2021-02-24 19:36:37 +01:00
module_utils Improved ModuleHelper.run_command() (#1867) (#1938) 2021-02-28 15:34:46 +01:00
modules Improved ModuleHelper.run_command() (#1867) (#1938) 2021-02-28 15:34:46 +01:00