mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 10:51:24 -07:00
Fix command variable usage in CmdRunner (#4903)
* Fix command variable usage * Add changelog fragment for cmd-runner bugfix (#4903)
This commit is contained in:
parent
2dcdd2faca
commit
265c052c27
2 changed files with 3 additions and 1 deletions
|
@ -191,7 +191,7 @@ class CmdRunner(object):
|
|||
environ_update = {}
|
||||
self.environ_update = environ_update
|
||||
|
||||
self.command[0] = module.get_bin_path(command[0], opt_dirs=path_prefix, required=True)
|
||||
self.command[0] = module.get_bin_path(self.command[0], opt_dirs=path_prefix, required=True)
|
||||
|
||||
for mod_param_name, spec in iteritems(module.argument_spec):
|
||||
if mod_param_name not in self.arg_formats:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue