ansible / ansible.builtin / v2.9.23 / module / logstash_plugin Manage Logstash plugins | "added in version" 2.3 of ansible.builtin" Authors: Loic Blot (@nerzhul) preview | supported by communityansible.builtin.logstash_plugin (v2.9.23) — module
pip
Install with pip install ansible==2.9.23
Manages Logstash plugins.
- name: Install Logstash beats input plugin logstash_plugin: state: present name: logstash-input-beats
- name: Install specific version of a plugin logstash_plugin: state: present name: logstash-input-syslog version: '3.2.0'
- name: Uninstall Logstash plugin logstash_plugin: state: absent name: logstash-filter-multiline
- name: install Logstash plugin with alternate heap size logstash_plugin: state: present name: logstash-input-beats environment: LS_JAVA_OPTS: "-Xms256m -Xmx256m"
name: description: - Install plugin with that name. required: true state: choices: - present - absent default: present description: - Apply plugin state. version: description: - Specify plugin Version of the plugin to install. If plugin exists with previous version, it will NOT be updated. plugin_bin: default: /usr/share/logstash/bin/logstash-plugin description: - Specify logstash-plugin to use for plugin management. proxy_host: description: - Proxy host to use during plugin installation. proxy_port: description: - Proxy port to use during plugin installation.