Shield now causes restart
This commit is contained in:
parent
5d3616bd20
commit
4f6d5b0a4a
4 changed files with 16 additions and 14 deletions
|
|
@ -26,6 +26,7 @@
|
|||
with_items: "{{ installed_plugins.stdout_lines }}"
|
||||
when: es_plugins_reinstall and installed_plugins.stdout_lines | length > 0 and not 'No plugin detected' in installed_plugins.stdout_lines[0]
|
||||
notify: restart elasticsearch
|
||||
register: plugin_installed
|
||||
environment:
|
||||
CONF_DIR: "{{ conf_dir }}"
|
||||
ES_INCLUDE: "{{ instance_default_file }}"
|
||||
|
|
@ -46,4 +47,5 @@
|
|||
|
||||
#Set permissions on plugins directory
|
||||
- name: Set Plugin Directory Permissions
|
||||
file: state=directory path={{ es_home }}/plugins owner={{ es_user }} group={{ es_group }} recurse=yes
|
||||
file: state=directory path={{ es_home }}/plugins owner={{ es_user }} group={{ es_group }} recurse=yes
|
||||
when: es_enable_xpack
|
||||
Loading…
Add table
Add a link
Reference in a new issue