Plugin listed error detection improved

This commit is contained in:
Dale McDiarmid 2016-08-29 17:41:35 +01:00
parent aa284de281
commit 0aa00b477b
3 changed files with 5 additions and 4 deletions

View file

@ -4,6 +4,7 @@
- shell: "{{es_home}}/bin/plugin list | sed -n '1!p' | grep {{item}}"
register: feature_installed
changed_when: False
failed_when: "'ERROR' in feature_installed.stdout"
ignore_errors: yes
environment:
CONF_DIR: "{{ conf_dir }}"