mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
ModuleHelper: CmdMixin custom function for processing cmd results (#2564)
* MH: custom function for processing cmd results * added changelog fragment * removed case of process_output being a str
This commit is contained in:
parent
452a185a23
commit
1403f5edcc
2 changed files with 9 additions and 2 deletions
2
changelogs/fragments/2564-mh-cmd-process-output.yml
Normal file
2
changelogs/fragments/2564-mh-cmd-process-output.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- module_helper module utils - method ``CmdMixin.run_command()`` now accepts ``process_output`` specifying a function to process the outcome of the underlying ``module.run_command()`` (https://github.com/ansible-collections/community.general/pull/2564).
|
Loading…
Add table
Add a link
Reference in a new issue