ansible-roles/library/roles/ELK/elasticsearch/handlers/main.yml

6 lines
123 B
YAML

---
- name: Restart elasticsearch
service: name=elasticsearch state=restarted enabled=yes
when: elasticsearch_enabled