Fix systemd handler to restart elasticsearch with systemd

This commit is contained in:
Romain Dessort 2017-08-04 10:48:37 -04:00
parent 3bd758759e
commit 15e7c72a23
2 changed files with 3 additions and 6 deletions

View file

@ -1,10 +1,7 @@
--- ---
- name: restart elasticsearch - name: restart elasticsearch
service:
name: elasticsearch
state: restarted
- name: reload elasticsearch unit
systemd: systemd:
daemon_reload: yes daemon_reload: yes
name: elasticsearch
state: restarted

View file

@ -38,6 +38,6 @@
option: "LimitMEMLOCK" option: "LimitMEMLOCK"
value: "infinity" value: "infinity"
notify: notify:
- reload elasticsearch unit - restart elasticsearch
tags: tags:
- config - config