2016-02-15 14:22:08 +01:00
|
|
|
---
|
2016-06-30 16:09:51 +02:00
|
|
|
- include: elasticsearch.yml
|
|
|
|
- include: plugins.yml
|
2016-02-15 15:52:30 +01:00
|
|
|
|
2016-02-15 14:22:08 +01:00
|
|
|
- name: Ensure that elasticsearch is enabled and running
|
|
|
|
service: name=elasticsearch state=started enabled=yes
|
|
|
|
when: elasticsearch_enabled
|
|
|
|
tags: [ 'ELK', 'elasticsearch', 'elk' ]
|
|
|
|
|
2016-02-15 15:52:30 +01:00
|
|
|
- name: Ensure that elasticsearch is disabled and stopped
|
|
|
|
service: name=elasticsearch state=stopped enabled=no
|
|
|
|
when: not elasticsearch_enabled
|
|
|
|
tags: [ 'ELK', 'elasticsearch', 'elk' ]
|
|
|
|
|