Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 503a749 commit b0a9921Copy full SHA for b0a9921
roles/elasticsearch/handlers/main.yml
@@ -0,0 +1,5 @@
1
+---
2
+# file: roles/elasticsearch/handlers/main.yml
3
+
4
+- name: restart elasticsearch
5
+ service: name=elasticsearch state=restarted
roles/elasticsearch/tasks/main.yml
@@ -11,4 +11,6 @@
11
12
- name: install Elasticsearch marvel plugin
13
command: creates=/usr/share/elasticsearch/plugins/marvel chdir=/usr/share/elasticsearch/bin ./plugin -install elasticsearch/marvel/latest
14
- tags: elasticsearch
+ tags: elasticsearch
15
+ notify:
16
+ - restart elasticsearch
0 commit comments