aboutsummaryrefslogtreecommitdiffstats
path: root/roles/logstash
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-01-22 11:53:06 +0100
committerbinary <me@rgoncalves.se>2021-01-22 11:53:06 +0100
commitaa6d2358a2e41d470bffc3a5a8e2b45a0ec32ada (patch)
tree4b0835e80eab5a0c3b26f1ff3f8c852e465adcab /roles/logstash
parenta162df038f57502b21435034bf1e05e7e976d346 (diff)
downloadinfrastructure-aa6d2358a2e41d470bffc3a5a8e2b45a0ec32ada.tar.gz
Install logstash monitoring
Diffstat (limited to 'roles/logstash')
-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.