Simpler restart handling + issue-test for recreation of problems

This commit is contained in:
Dale McDiarmid 2017-08-20 10:30:39 -04:00
parent 2c69fbcb40
commit 5e1873ca68
10 changed files with 43 additions and 2 deletions

View file

@ -1,6 +1,8 @@
---
#Add the elasticsearch user before installing from packages.
- name: Ensure optional elasticsearch group is created with the correct id.
#Restart if these change
notify: restart elasticsearch
group:
state: present
name: "{{ es_group }}"
@ -8,6 +10,8 @@
gid: "{{ es_group_id }}"
- name: Ensure optional elasticsearch user is created with the correct id.
#Restart if these change
notify: restart elasticsearch
user:
state: present
name: "{{ es_user }}"