From d338849b4fa2aacfe1e91bcc1bc5c0d7a848ccf3 Mon Sep 17 00:00:00 2001 From: Lazare Olivry Date: Fri, 17 Aug 2018 14:49:32 +0200 Subject: [PATCH] add idempotence in check mode for plugins --- tasks/elasticsearch-plugins.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/elasticsearch-plugins.yml b/tasks/elasticsearch-plugins.yml index d6a1bdc..5aafade 100644 --- a/tasks/elasticsearch-plugins.yml +++ b/tasks/elasticsearch-plugins.yml @@ -30,6 +30,7 @@ CONF_DIR: "{{ conf_dir }}" ES_PATH_CONF: "{{ conf_dir }}" ES_INCLUDE: "{{ instance_default_file }}" + check_mode: no #if es_plugins_reinstall is set to true we remove ALL plugins - name: set fact plugins_to_remove to install_plugins.stdout_lines