Test for plugin on standard

This commit is contained in:
Dale McDiarmid 2017-08-15 14:31:56 +01:00
parent 6ebeccfb01
commit 911b2df9ac
5 changed files with 18 additions and 5 deletions

View file

@ -53,7 +53,7 @@
failed_when: "'ERROR' in plugin_installed.stdout"
changed_when: plugin_installed.rc == 0
with_items: "{{ es_plugins }}"
when: "{{ item.plugin in plugins_to_install }}"
when: item.plugin in plugins_to_install
notify: restart elasticsearch
environment:
CONF_DIR: "{{ conf_dir }}"