logstash_plugin: fix proxy support and improve error reporting (#11951)

* fix(logstash_plugin): use env vars for proxy, expose stderr on failure

Replace broken -DproxyHost/-DproxyPort JVM flags with http_proxy/https_proxy
environment variables, which are respected by modern Logstash bundled JDK.
Also include stderr in fail_json so the actual error output is visible.

Fixes #8650

* feat(changelog): add fragment for PR 11951
This commit is contained in:
Alexei Znamensky
2026-05-02 10:45:27 +12:00
committed by GitHub
parent 2becfe45b5
commit 881f64c93b
2 changed files with 15 additions and 6 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- "logstash_plugin - use ``http_proxy``/``https_proxy`` environment variables for proxy support instead of broken JVM flags; expose ``stderr`` on failure (https://github.com/ansible-collections/community.general/issues/8650, https://github.com/ansible-collections/community.general/pull/11951)."