ModuleHelper - cmd params now taken from self.vars instead of self.module.params (#2517) (#2549)

* cmd params now taken from self.vars instead of self.module.params

* added changelog fragment

* Update changelogs/fragments/2517-cmd-params-from-vars.yml

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

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

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2021-05-18 06:36:02 +02:00
committed by GitHub
parent 6e56bae0f3
commit de2feb2567
3 changed files with 6 additions and 4 deletions

View File

@@ -0,0 +1,2 @@
minor_changes:
- cmd (Module Helper) module utils - ``CmdMixin`` now pulls the value for ``run_command()`` params from ``self.vars``, as opposed to previously retrieving those from ``self.module.params`` (https://github.com/ansible-collections/community.general/pull/2517).