aboutsummaryrefslogtreecommitdiffstats
path: root/roles/elasticsearch/tasks
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-01-22 21:48:14 +0100
committerbinary <me@rgoncalves.se>2021-01-22 21:48:14 +0100
commit165de68d264460d6cf02dec394d9c9d1c8138c4c (patch)
tree37d46a3ef0f9cfd93d556370df85f91d2a267709 /roles/elasticsearch/tasks
parent3ee51178ccf8b4ed610da788efe757b633125331 (diff)
downloadinfrastructure-165de68d264460d6cf02dec394d9c9d1c8138c4c.tar.gz
First revision for elastic/kibana stack
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.