aboutsummaryrefslogtreecommitdiffstats
path: root/roles/elasticsearch/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/elasticsearch/tasks')
-rw-r--r--roles/elasticsearch/tasks/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/elasticsearch/tasks/main.yml b/roles/elasticsearch/tasks/main.yml
new file mode 100644
index 0000000..ce53f2b
--- /dev/null
+++ b/roles/elasticsearch/tasks/main.yml
@@ -0,0 +1,12 @@
+
+# elasticsearch ~~ roles/elasticsearch/tasks/main.yml
+# elasticsearch setup
+
+---
+
+- name: install elasticsearch
+ package: name=elasticsearch state=present
+
+- name: start and enable elasticsearch service
+ service: name=elasticsearch state=restarted enabled=true
+
remember that computers suck.