community / community.general / 0.1.4 / module / logstash_plugin Manage Logstash plugins Authors: Loic Blot (@nerzhul)community.general.logstash_plugin (0.1.4) — module
Install with ansible-galaxy collection install community.general:==0.1.4
collections: - name: community.general version: 0.1.4
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.