Plugin fixes for 5.x

This commit is contained in:
Dale McDiarmid 2017-01-13 15:28:53 +00:00
parent ffc417c766
commit 7efec96ea9
4 changed files with 6 additions and 12 deletions

View file

@ -27,7 +27,7 @@
#Install plugin if not installed, or the es version has changed (so removed above), and its been requested
- name: Install x-pack plugin
command: >
{{es_home}}/bin/elasticsearch-plugin install x-pack
{{es_home}}/bin/elasticsearch-plugin install --batch x-pack {% if es_proxy_host is defined and es_proxy_host != '' %} -Dhttp.proxyHost={{ es_proxy_host }} -Dhttp.proxyPort={{ es_proxy_port }} {% endif %}
register: xpack_state
failed_when: "'ERROR' in xpack_state.stdout"
changed_when: xpack_state.rc == 0