kibana_plugin - Manage Kibana plugins

New in version 2.2.

Synopsis

  • Manages Kibana plugins.

Options

parameter required default choices comments
force
no
  • yes
  • no
Delete and re-install the plugin. Can be useful for plugins update
name
yes
Name of the plugin to install
plugin_bin
no /opt/kibana/bin/kibana
Location of the plugin binary
plugin_dir
no /opt/kibana/installedPlugins/
Your configured plugin directory specified in Kibana
state
no present
  • present
  • absent
Desired state of a plugin.
timeout
no 1m
Timeout setting: 30s, 1m, 1h...
url
no None
Set exact URL to download the plugin from. For local file, prefix its absolute path with file://
version
no None
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 Return Values, the following are the fields unique to this module:

name description returned type sample
cmd
the launched command during plugin mangement (install / remove)
success string
name
the plugin name to install or remove
success string
state
the state for the managed plugin
success string
stderr
the command stderr
success string
stdout
the command stdout
success string
timeout
the timeout for plugin download
success string
url
the url from where the plugin is installed from
success string

Status

This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.

© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.4/kibana_plugin_module.html