Set userid and groupid between ElasticSearch removal and installation

This commit is contained in:
Ludovic Petetin 2019-06-28 14:15:03 +02:00
parent 91669e4186
commit c52eed7aa1
3 changed files with 7 additions and 4 deletions

View file

@ -35,6 +35,10 @@
name: '{{ es_other_package_name }}'
state: 'absent'
- name: Include optional user and group creation.
when: (es_user_id is defined) and (es_group_id is defined)
include: elasticsearch-optional-user.yml
- name: RedHat - Install Elasticsearch
become: yes
yum: