add idempotence in check mode for plugins

This commit is contained in:
Lazare Olivry 2018-08-17 14:49:32 +02:00
parent 47c7afa4cd
commit d338849b4f

View file

@ -30,6 +30,7 @@
CONF_DIR: "{{ conf_dir }}" CONF_DIR: "{{ conf_dir }}"
ES_PATH_CONF: "{{ conf_dir }}" ES_PATH_CONF: "{{ conf_dir }}"
ES_INCLUDE: "{{ instance_default_file }}" ES_INCLUDE: "{{ instance_default_file }}"
check_mode: no
#if es_plugins_reinstall is set to true we remove ALL plugins #if es_plugins_reinstall is set to true we remove ALL plugins
- name: set fact plugins_to_remove to install_plugins.stdout_lines - name: set fact plugins_to_remove to install_plugins.stdout_lines