From ddbf4ad956e66a4e413df8b2af15196017ac67c8 Mon Sep 17 00:00:00 2001 From: Dale McDiarmid Date: Wed, 15 Mar 2017 15:19:39 -0400 Subject: [PATCH] Fix for idempotent security --- tasks/xpack/security/elasticsearch-security.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/xpack/security/elasticsearch-security.yml b/tasks/xpack/security/elasticsearch-security.yml index 5b483cf..9c4470d 100644 --- a/tasks/xpack/security/elasticsearch-security.yml +++ b/tasks/xpack/security/elasticsearch-security.yml @@ -13,7 +13,8 @@ - command: /bin/true notify: activate-security when: (es_enable_xpack and '"security" in es_xpack_features') and ((es_users is defined and es_users.native is defined) or (es_roles is defined and es_roles.native is defined)) - + changed_when: False + #-----------------------------ROLE MAPPING ---------------------------------------- #Copy Roles files