Do not install plugins as unprivileged user

This commit is contained in:
Thibaud Fabre
2016-09-27 06:13:39 +02:00
parent 8463b81752
commit cbe8789060

View File

@@ -28,8 +28,6 @@
when: not is_installed
- name: Install plugins
become: yes
become_user: elasticsearch
shell: /usr/share/elasticsearch/bin/plugin install {{ item.name }}/{{ item.version }}
when: not is_installed
with_items: "{{ elasticsearch.plugins }}"