Move to full-path plugins
This commit is contained in:
parent
14df6c8b89
commit
444cab9cd2
2 changed files with 8 additions and 6 deletions
12
README.md
12
README.md
|
|
@ -45,16 +45,18 @@ hosts: my_host
|
||||||
es_start_service: false
|
es_start_service: false
|
||||||
es_plugins_reinstall: false
|
es_plugins_reinstall: false
|
||||||
es_plugins:
|
es_plugins:
|
||||||
- plugin: elasticsearch-cloud-aws
|
- plugin: elasticsearch/elasticsearch-cloud-aws
|
||||||
version: 2.5.0
|
version: 2.5.0
|
||||||
- plugin: marvel
|
- plugin: elasticsearch/marvel
|
||||||
version: latest
|
version: latest
|
||||||
- plugin: license
|
- plugin: elasticsearch/license
|
||||||
version: latest
|
version: latest
|
||||||
- plugin: shield
|
- plugin: elasticsearch/shield
|
||||||
version: latest
|
version: latest
|
||||||
- plugin: elasticsearch-support-diagnostics
|
- plugin: elasticsearch/elasticsearch-support-diagnostics
|
||||||
version: latest
|
version: latest
|
||||||
|
- plugin: lmenezes/elasticsearch-kopf
|
||||||
|
version: master
|
||||||
tasks:
|
tasks:
|
||||||
- .... your tasks ...
|
- .... your tasks ...
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
- name: Install elasticsearch plugins
|
- name: Install elasticsearch plugins
|
||||||
#debug: var=item
|
#debug: var=item
|
||||||
command: /usr/share/elasticsearch/bin/plugin --install elasticsearch/{{ item.plugin }}/{{ item.version }} --silent
|
command: /usr/share/elasticsearch/bin/plugin --install {{ item.plugin }}/{{ item.version }} --silent
|
||||||
register: command_result
|
register: command_result
|
||||||
failed_when: "'Failed to install' in command_result.stderr"
|
failed_when: "'Failed to install' in command_result.stderr"
|
||||||
changed_when: command_result.rc == 0
|
changed_when: command_result.rc == 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue