Update install-elasticsearch.yml
service will now turn on at system startup. service will be restarted at the end.
This commit is contained in:
parent
e38755d897
commit
6f8d66a2fe
@ -63,10 +63,15 @@
|
|||||||
systemd:
|
systemd:
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
|
|
||||||
- name: Start ElasticSearch
|
- name: systemd - enable ElasticSearch on startup
|
||||||
become: true
|
become: true
|
||||||
systemd:
|
systemd:
|
||||||
name: elasticsearch
|
name: elasticsearch
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
||||||
|
- name: systemd - restart ElasticSearch service
|
||||||
|
become: true
|
||||||
|
systemd:
|
||||||
|
name: elasticsearch
|
||||||
|
state: restarted
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user