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:
|
||||
daemon_reload: yes
|
||||
|
||||
- name: Start ElasticSearch
|
||||
- name: systemd - enable ElasticSearch on startup
|
||||
become: true
|
||||
systemd:
|
||||
name: elasticsearch
|
||||
enabled: yes
|
||||
|
||||
- name: systemd - restart ElasticSearch service
|
||||
become: true
|
||||
systemd:
|
||||
name: elasticsearch
|
||||
state: restarted
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user