From e45c902e5e316324961827324ee165eebd44dcc5 Mon Sep 17 00:00:00 2001 From: Julien Mailleret Date: Thu, 5 Sep 2019 10:49:33 +0200 Subject: [PATCH] clean unused task related to multi-instance directories --- tasks/xpack/security/elasticsearch-security-file.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tasks/xpack/security/elasticsearch-security-file.yml b/tasks/xpack/security/elasticsearch-security-file.yml index ef68efe..4dd2c52 100644 --- a/tasks/xpack/security/elasticsearch-security-file.yml +++ b/tasks/xpack/security/elasticsearch-security-file.yml @@ -100,7 +100,3 @@ template: src=security/users_roles.j2 dest={{ es_conf_dir }}/users_roles mode=0644 force=yes when: manage_file_users and users_roles | length > 0 -#Set permission on security directory. E.g. if 2 nodes are installed on the same machine, the second node will not get the users file created at install, causing the files being created at es_users call and then having the wrong Permissions. -- name: Set Security Directory Permissions Recursive - become: yes - file: state=directory path={{ es_conf_dir }}/ owner={{ es_user }} group={{ es_group }} recurse=yes