clean unused task related to multi-instance directories

This commit is contained in:
Julien Mailleret 2019-09-05 10:49:33 +02:00
parent 407dddcae1
commit e45c902e5e
No known key found for this signature in database
GPG key ID: F065093271C8DE71

View file

@ -100,7 +100,3 @@
template: src=security/users_roles.j2 dest={{ es_conf_dir }}/users_roles mode=0644 force=yes 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 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