Playbook
Playbook
Ansible Logo
Ansible Community Documentation
Ansible
9
Select version:
Search docs:
Installation Guide
Ansible Porting Guides
Using Ansible
Contributing to Ansible
Extending Ansible
Developer Guide
Network Automation
Ansible Galaxy
Galaxy User Guide
Galaxy Developer Guide
Collection Index
Community.Aws
Community.Azure
Community.Ciscosmb
Community.Crypto
Community.Digitalocean
Community.Dns
Community.Docker
Community.General
Description
Communication
Changelog
Guides
Cloud Guides
Plugin Index
Community.Grafana
Community.Hashi_Vault
Community.Hrobot
Community.Library_Inventory_Filtering_V1
Community.Libvirt
Community.Mongodb
Community.Mysql
Community.Network
Community.Okd
Community.Postgresql
Community.Proxysql
Community.Rabbitmq
Community.Routeros
Community.Sap
Community.Sap_Libs
Community.Sops
Community.Vmware
Community.Windows
Community.Zabbix
Collections in the Containers Namespace
Collections in the Cyberark Namespace
Collections in the Dellemc Namespace
Collections in the F5networks Namespace
Collections in the Fortinet Namespace
Collections in the Frr Namespace
Collections in the Gluster Namespace
Collections in the Google Namespace
Collections in the Grafana Namespace
Collections in the Hetzner Namespace
Collections in the Hpe Namespace
Collections in the Ibm Namespace
Collections in the Infinidat Namespace
Collections in the Infoblox Namespace
Collections in the Inspur Namespace
Collections in the Junipernetworks Namespace
Collections in the Kaytus Namespace
Collections in the Kubernetes Namespace
Collections in the Lowlydba Namespace
Collections in the Microsoft Namespace
Collections in the Netapp Namespace
Collections in the Netapp_eseries Namespace
Collections in the Netbox Namespace
Collections in the Ngine_io Namespace
Collections in the Openstack Namespace
Collections in the Openvswitch Namespace
Collections in the Ovirt Namespace
Collections in the Purestorage Namespace
Collections in the Sensu Namespace
Collections in the Splunk Namespace
Collections in the T_systems_mms Namespace
Collections in the Telekom_mms Namespace
Collections in the Theforeman Namespace
Collections in the Vmware Namespace
Collections in the Vultr Namespace
Collections in the Vyos Namespace
Collections in the Wti Namespace
Indexes of all modules and plugins
Playbook Keywords
Return Values
Ansible Configuration Settings
Controlling how Ansible behaves: precedence rules
YAML Syntax
Python 3 Support
Interpreter Discovery
Releases and maintenance
Testing Strategies
Sanity Tests
Frequently Asked Questions
Glossary
Ansible Reference: Module Utilities
Special Variables
Red Hat Ansible Automation Platform
Ansible Automation Hub
Logging Ansible output
Roadmaps
Ansible Roadmap
ansible-core Roadmaps
Collection Index Collections in the Community Namespace Community.General
community.general.elasticsearch_plugin module – Manage Elasticsearch plugins
Edit on GitHub
This is the latest (stable) Ansible community documentation. For Red Hat Ansible
Automation Platform subscriptions, see Life Cycle for version details.
community.general.elasticsearch_plugin module – Manage Elasticsearch plugins
Note
You might already have this collection installed if you are using the ansible
package. It is not included in ansible-core. To check whether it is installed, run
ansible-galaxy collection list.
Synopsis
Parameters
Attributes
Examples
Synopsis
Aliases: database.misc.elasticsearch_plugin
Parameters
Parameter
Comments
force
boolean
Force batch mode when installing plugins. This is only necessary if a plugin
requires additional permissions and console detection fails.
Choices:
false ← (default)
true
name
string / required
Name of the plugin to install.
plugin_bin
path
Location of the plugin binary. If this file is not found, the default plugin
binaries will be used.
plugin_dir
path
Default: "/usr/share/elasticsearch/plugins/"
proxy_host
string
proxy_port
string
src
string
Optionally set the source location to retrieve the plugin from. This can be a
file:// URL to install from a local file, or a remote URL. If this is not set, the
plugin location is just based on the name.
The name parameter must match the descriptor in the plugin ZIP specified.
Is only used if the state would change, which is solely checked based on the name
parameter. If, for example, the plugin is already installed, changing this has no
effect.
state
string
"present" ← (default)
"absent"
timeout
string
Only valid for Elasticsearch < 5.0. This option is ignored for Elasticsearch > 5.0.
Default: "1m"
url
string
Set exact URL to download the plugin from (Only works for ES 1.x).
version
string
Attribute
Support
Description
check_mode
full
Can run in check_mode and return changed status prediction without modifying
target.
diff_mode
none
Will return details on what has changed (or possibly needs changing in check_mode),
when in diff mode.
Examples
Authors
Collection links
Issue Tracker
Repository (Sources)
Submit a bug report
Request a feature
Communication