module_helper cmd - added feature flag to control whether CmdMixin adds rc, out and err t… (#2922)

* added feature flag to control whether CmdMixin adds rc, out and err to the result of the module

* added changelog fragment

* changed from a global flag to parameters in run_command

* updated changelog

* fixed brainless copy-paste of yours truly
This commit is contained in:
Alexei Znamensky 2021-07-11 11:43:40 +12:00 committed by GitHub
commit c5cbe2943b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 2 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- module_helper module utils - added feature flag parameters to ``CmdMixin`` to control whether ``rc``, ``out`` and ``err`` are automatically added to the module output (https://github.com/ansible-collections/community.general/pull/2922).