[英]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. 我正在使用ansible进行elasticsearch( ansible-elasticsearch ),并且需要从url,本地文件或替代存储库中安装插件。 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 }}
. 消息来源建议以
{{es_home}}/bin/plugin install {{ item.plugin }}
。
And ES docs explains possible ways to install plugins from alternative locations. ES文档解释了从其他位置安装插件的可能方法。
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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.