ansible-role-elasticsearch/handlers/main.yml

12 lines
272 B
YAML
Raw Normal View History

2020-08-20 17:21:24 +02:00
---
2020-08-20 18:25:25 +02:00
- 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