Fix for plugins on 1.x
This commit is contained in:
parent
d203e025c9
commit
fe025c465f
2 changed files with 3 additions and 3 deletions
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
- name: Install elasticsearch plugins
|
||||
#debug: var=item
|
||||
command: "{{es_home}}/bin/plugin install {{ item.plugin }}{% if item.version is defined and item.version != '' %}/{{ item.version }}{% endif %} --silent"
|
||||
command: "{{es_home}}/bin/plugin install {{ item.plugin }}{% if item.version is defined and item.version != '' %}/{{ item.version }}{% endif %}"
|
||||
register: plugin_installed
|
||||
failed_when: "'Failed to install' in plugin_installed.stderr"
|
||||
changed_when: plugin_installed.rc == 0
|
||||
|
|
@ -20,6 +20,7 @@
|
|||
notify: restart elasticsearch
|
||||
environment:
|
||||
CONF_DIR: "{{ conf_dir }}"
|
||||
ES_INCLUDE: "{{ instance_default_file }}"
|
||||
|
||||
#Set permissions on plugins directory
|
||||
- name: Set Plugin Directory Permissions
|
||||
|
|
|
|||
|
|
@ -10,5 +10,4 @@
|
|||
- include: elasticsearch-scripts.yml
|
||||
when: es_scripts
|
||||
- include: elasticsearch-templates.yml
|
||||
when: es_templates
|
||||
|
||||
when: es_templates
|
||||
Loading…
Add table
Add a link
Reference in a new issue