Skip to content

Commit

Permalink
logstash_plugin - invoke run_command passing list (#3808)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
russoz authored Dec 1, 2021
1 parent 2edbabd commit c587d21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- logstash_plugin - calling ``run_command`` with arguments as ``list`` instead of ``str`` (https://github.com/ansible-collections/community.general/pull/3808).
2 changes: 1 addition & 1 deletion plugins/modules/monitoring/logstash_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@

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


Expand Down

0 comments on commit c587d21

Please sign in to comment.