ansible.builtin.kibana_plugin (v2.9.27) — module

Manage Kibana plugins

| "added in version" 2.2 of ansible.builtin"

Authors: Thierno IB. BARRY (@barryib)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

This module can be used to manage Kibana plugins.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Install Elasticsearch head plugin
  kibana_plugin:
    state: present
    name: elasticsearch/marvel
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Install specific version of a plugin
  kibana_plugin:
    state: present
    name: elasticsearch/marvel
    version: '2.3.3'
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Uninstall Elasticsearch head plugin
  kibana_plugin:
    state: absent
    name: elasticsearch/marvel

Inputs

    
url:
    description:
    - Set exact URL to download the plugin from.
    - For local file, prefix its absolute path with file://

name:
    description:
    - Name of the plugin to install.
    required: true

force:
    default: 'no'
    description:
    - Delete and re-install the plugin. Can be useful for plugins update.
    type: bool

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Desired state of a plugin.

timeout:
    default: 1m
    description:
    - 'Timeout setting: 30s, 1m, 1h etc.'

version:
    description:
    - Version of the plugin to be installed.
    - If plugin exists with previous version, plugin will NOT be updated unless C(force)
      is set to yes.

plugin_bin:
    default: /opt/kibana/bin/kibana
    description:
    - Location of the Kibana binary.

plugin_dir:
    default: /opt/kibana/installedPlugins/
    description:
    - Your configured plugin directory specified in Kibana.

Outputs

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