mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
logstash_plugin - invoke run_command passing list (#3808)
* logstash_plugin - invoke run_command passing list * added changelog fragment * rogue chglog frag escaped its caged and was seen running around into a different PR
This commit is contained in:
@@ -82,7 +82,7 @@ PACKAGE_STATE_MAP = dict(
|
||||
|
||||
def is_plugin_present(module, plugin_bin, plugin_name):
|
||||
cmd_args = [plugin_bin, "list", plugin_name]
|
||||
rc, out, err = module.run_command(" ".join(cmd_args))
|
||||
rc, out, err = module.run_command(cmd_args)
|
||||
return rc == 0
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user