From aa6d2358a2e41d470bffc3a5a8e2b45a0ec32ada Mon Sep 17 00:00:00 2001 From: binary Date: Fri, 22 Jan 2021 11:53:06 +0100 Subject: Install logstash monitoring --- roles/logstash/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 roles/logstash/tasks/main.yml 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 -- cgit v1.2.3