Open arno4000 opened 3 months ago
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
cc @nerzhul click here for bot help
I have fixed the issue by setting the proxy via environment variables. The problem is, that the java proxy arguments are apparently no longer respected by logstash. https://github.com/ansible-collections/community.general/blob/main/plugins/modules/logstash_plugin.py#L112
I would suggest to either remove the proxy settings and edit the docs that the environment method should be used, or change the code of the plugin that it sets the environment.
- name: Install logstash-output-loki plugin
community.general.logstash_plugin:
name: logstash-output-loki
state: present
tags: install_loki_plugin
environment:
http_proxy: "http://proxy.example.com:8080"
https_proxy: "http://proxy.example.com:8080"
Summary
When trying to install the logstash-output-loki plugin, I get the following error message:
FAILED! => {"changed": false, "msg": "Using bundled JDK: /usr/share/logstash/jdk\nValidating logstash-output-loki\n"}
Is there a way to get more detailed output (-vvv
didn't help)?Issue Type
Bug Report
Component Name
logstash_plugin
Ansible Version
Community.general Version
Configuration
OS / Environment
Endeavour OS on the client and Debian 11.10 (Bullseye) on the server
Steps to Reproduce
Expected Results
Logstash plugins can be installed
Actual Results
Code of Conduct