# Attempting to install elasticsearch plugins results in error "msg: implementation error: unknown type path requested for plugin\_bin"

**URL:** <https://forum.ansible.com/t/attempting-to-install-elasticsearch-plugins-results-in-error-msg-implementation-error-unknown-type-path-requested-for-plugin-bin/22618>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [September 22, 2016, 3:05pm UTC](https://forum.ansible.com/t/attempting-to-install-elasticsearch-plugins-results-in-error-msg-implementation-error-unknown-type-path-requested-for-plugin-bin/22618 "2016-09-22T15:05:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sean\_Meacher](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@Sean\_Meacher](https://forum.ansible.com/u/Sean_Meacher)\
**Post date:** [September 22, 2016, 3:05pm UTC](https://forum.ansible.com/t/attempting-to-install-elasticsearch-plugins-results-in-error-msg-implementation-error-unknown-type-path-requested-for-plugin-bin/22618/1 "2016-09-22T15:05:32Z")

</div>

Hi,  
I’m attempting to automate the creation of elasticsearch nodes via ansible, using the appropriate module.

in the yml I have:

- name: add elasticsearch plugins  
elasticsearch\_plugin: state=present name=“license”  
also tried:

elasticsearch\_plugin: state=present name=“elasticsearch/license”  
(as those worked manually)

What I get with debug output is this:

failed: [elasticsearch05] =\> {“failed”: true}  
msg: implementation error: unknown type path requested for plugin\_bin

What I’ve found in the plugin source file (checked out from github)  
/usr/share/ansible\_modules/packaging/elasticsearch\_plugin.py

is this:

plugin\_bin:  
description:

- Location of the plugin binary  
required: False  
default: /usr/share/elasticsearch/bin/plugin

which looks ok…

Is there something obvious I’m missing?..  
This is all on ubuntu 14.04

Thanks,  
Sean
