From 1befe6c0d9ac3140d41f1ecd26e5f7a7fec3b4ad Mon Sep 17 00:00:00 2001 From: Julien Mailleret Date: Wed, 18 Sep 2019 10:57:58 +0200 Subject: [PATCH] stop trying to create users file as it's already created by the official package --- tasks/xpack/security/elasticsearch-security-file.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tasks/xpack/security/elasticsearch-security-file.yml b/tasks/xpack/security/elasticsearch-security-file.yml index 1d5d222..f81117a 100644 --- a/tasks/xpack/security/elasticsearch-security-file.yml +++ b/tasks/xpack/security/elasticsearch-security-file.yml @@ -22,15 +22,6 @@ when: old_users_file.stat.exists # End of users migrations -- name: Create the users file if it doesn't exist - copy: - content: "" - dest: "{{ es_conf_dir }}/users" - force: no # this ensures it only creates it if it does not exist - group: "{{ es_group }}" - owner: "{{ es_user }}" - mode: 0555 - #List current users - name: List Users become: yes