简体   繁体   中英

Install elasticsearch plugins with ansible

I'm using ansible for elasticsearch ( ansible-elasticsearch ) and need to install plugins from a url , local file, or alternative repo. is there a way I can reference a plugin by something other than just:

  es_plugins:
    -plugin: elasticsearch/license
     version: latest

Source suggests that plugins are installed this way {{es_home}}/bin/plugin install {{ item.plugin }} .

And ES docs explains possible ways to install plugins from alternative locations.

So you should be good to go with:

es_plugins:
  - plugin: my_git_id/my_plugin
  - plugin: http://url_to_my_custom_plugin
  - plugin: file:///path/to/plugin.zip

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM