Skip to content

Commit

Permalink
Fix proxy settings for elasticsearch_plugin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Hovius committed Feb 18, 2025
1 parent a3fd357 commit d970064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/elasticsearch_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def install_plugin(module, plugin_bin, plugin_name, version, src, url, proxy_hos
cmd_args[2] = plugin_name

if proxy_host and proxy_port:
cmd_args.append("-DproxyHost=%s -DproxyPort=%s" % (proxy_host, proxy_port))
cmd_args.append("-Dhttp.proxyHost=%s -Dhttp.proxyPort=%s -Dhttps.proxyHost=%s -Dhttps.proxyPort=%s" % (proxy_host, proxy_port, proxy_host, proxy_port))

# Legacy ES 1.x
if url:
Expand Down

0 comments on commit d970064

Please sign in to comment.