stop trying to create users file as it's already created by the official package

This commit is contained in:
Julien Mailleret 2019-09-18 10:57:58 +02:00
parent 9bac169862
commit 1befe6c0d9
No known key found for this signature in database
GPG key ID: F065093271C8DE71

View file

@ -22,15 +22,6 @@
when: old_users_file.stat.exists when: old_users_file.stat.exists
# End of users migrations # 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 #List current users
- name: List Users - name: List Users
become: yes become: yes