Install elasticsearch plugins with Ansible


(Arnaud) #1

hello,

how to install elasticsearch plugin with ansible??

I have this command:

shell: chdir=/usr/share/elasticsearch/plugins/ state=present name={{ item }} owner=root group=root mode=0755

with_items:

  • royrusso/elasticsearch-HQ
  • mobz/elasticsearch-head
  • lukas-vlcek/bigdesk

But nothing to install!!

tks for help


(Mark Walkom) #2

We are releasing an Ansible playbook very soon, it should help!


(Magnus Bäck) #3

That Ansible task is a mix-up of options for both the shell module and the file module. I'm not even sure what you're trying to do—just creating a directory for the plugin won't accomplish anything. I'd expect a task for installing plugins to run .../plugin install {{ item }}.


(system) #4