|
---
|
|
- name: Restart elasticsearch
|
|
service: name=elasticsearch state=restarted enabled=yes
|
|
when: elasticsearch_enabled | bool
|
|
ignore_errors: True
|
|
|
|
- name: Restart kibana
|
|
service: name=kibana state=restarted enabled=yes
|
|
when: elasticsearch_kibana_enabled | bool
|
|
|
|
|