ansible / ansible.builtin / v2.5.15 / module / elasticsearch_plugin Manage Elasticsearch plugins | "added in version" 2.0 of ansible.builtin" Authors: Mathew Davies (@ThePixelDeveloper), Sam Doran (@samdoran) preview | supported by communityansible.builtin.elasticsearch_plugin (v2.5.15) — module
pip
Install with pip install ansible==2.5.15
Manages Elasticsearch plugins.
# Install Elasticsearch Head plugin in Elasticsearch 2.x - elasticsearch_plugin: name: mobz/elasticsearch-head state: present
# Install a specific version of Elasticsearch Head in Elasticsearch 2.x - elasticsearch_plugin: name: mobz/elasticsearch-head version: 2.0.0
# Uninstall Elasticsearch head plugin in Elasticsearch 2.x - elasticsearch_plugin: name: mobz/elasticsearch-head state: absent
# Install a specific plugin in Elasticsearch >= 5.0 - elasticsearch_plugin: name: analysis-icu state: present
url: default: None description: - Set exact URL to download the plugin from (Only works for ES 1.x) required: false name: description: - Name of the plugin to install. In Eleasticsearch >= 2.0, the name can be an URL or file location. required: true state: choices: - present - absent default: present description: - Desired state of a plugin. required: false timeout: default: 1m description: - 'Timeout setting: 30s, 1m, 1h...' - Only valid for Elasticsearch < 5.0. This option is ignored for Elasticsearch > 5.0. required: false version: default: None description: - Version of the plugin to be installed. If plugin exists with previous version, it will NOT be updated required: false plugin_bin: default: None description: - Location of the plugin binary. If this file is not found, the default plugin binaries will be used. - The default changed in Ansible 2.4 to None. required: false plugin_dir: default: /usr/share/elasticsearch/plugins/ description: - Your configured plugin directory specified in Elasticsearch required: false proxy_host: default: None description: - Proxy host to use during plugin installation required: false version_added: '2.1' version_added_collection: ansible.builtin proxy_port: default: None description: - Proxy port to use during plugin installation required: false version_added: '2.1' version_added_collection: ansible.builtin