kibana_plugin – Manage Kibana plugins

New in version 2.2.

Synopsis

  • Manages Kibana plugins.

Parameters

Parameter Choices/Defaults Comments
force
boolean
    Choices:
  • no ←
  • yes
Delete and re-install the plugin. Can be useful for plugins update
name
- / required
Name of the plugin to install
plugin_bin
-
Default:
"/opt/kibana/bin/kibana"
Location of the plugin binary
plugin_dir
-
Default:
"/opt/kibana/installedPlugins/"
Your configured plugin directory specified in Kibana
state
-
    Choices:
  • present ←
  • absent
Desired state of a plugin.
timeout
-
Default:
"1m"
Timeout setting: 30s, 1m, 1h...
url
-
Set exact URL to download the plugin from. For local file, prefix its absolute path with file://
version
-
Version of the plugin to be installed. If plugin exists with previous version, it will NOT be updated if force is not set to yes

Examples

- name: Install Elasticsearch head plugin
  kibana_plugin:
    state: present
    name: elasticsearch/marvel

- name: Install specific version of a plugin
  kibana_plugin:
    state: present
    name: elasticsearch/marvel
    version: '2.3.3'

- name: Uninstall Elasticsearch head plugin
  kibana_plugin:
    state: absent
    name: elasticsearch/marvel

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
cmd
string
success
the launched command during plugin mangement (install / remove)

name
string
success
the plugin name to install or remove

state
string
success
the state for the managed plugin

stderr
string
success
the command stderr

stdout
string
success
the command stdout

timeout
string
success
the timeout for plugin download

url
string
success
the url from where the plugin is installed from



Status

Authors

  • Thierno IB. BARRY (@barryib)

Hint

If you notice any issues in this documentation you can edit this document to improve it.