mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07:00
Improvements and fixes to ModuleHelper, with (some) tests. (#2024)
* Improvements and fixes to ModuleHelper, with (some) tests. * added changelog fragment * adjusted changelog frag - get_bin_path() handling is actually a bugfix
This commit is contained in:
parent
0f61ae4841
commit
4fbef900e1
3 changed files with 26 additions and 2 deletions
4
changelogs/fragments/2024-module-helper-fixes.yml
Normal file
4
changelogs/fragments/2024-module-helper-fixes.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
bugfixes:
|
||||
- module_helper module utils - actually ignoring formatting of parameters with value ``None`` (https://github.com/ansible-collections/community.general/pull/2024).
|
||||
- module_helper module utils - handling ``ModuleHelperException`` now properly calls ``fail_json()`` (https://github.com/ansible-collections/community.general/pull/2024).
|
||||
- module_helper module utils - use the command name as-is in ``CmdMixin`` if it fails ``get_bin_path()`` - allowing full path names to be passed (https://github.com/ansible-collections/community.general/pull/2024).
|
Loading…
Add table
Add a link
Reference in a new issue