Issue 40 + refactoring for better layout and more efficient restart process
This commit is contained in:
parent
731d4b20fe
commit
7b620eadf9
9 changed files with 44 additions and 24 deletions
6
tasks/elasticsearch-service.yml
Normal file
6
tasks/elasticsearch-service.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Make sure the service is started, and restart if necessary
|
||||
- name: Start elasticsearch service
|
||||
service: name={{instance_init_script | basename}} state=started enabled=yes
|
||||
when: es_start_service
|
||||
register: elasticsearch_started
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue