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