diff options
author | binary <me@rgoncalves.se> | 2021-01-22 11:53:06 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-01-22 11:53:06 +0100 |
commit | aa6d2358a2e41d470bffc3a5a8e2b45a0ec32ada (patch) | |
tree | 4b0835e80eab5a0c3b26f1ff3f8c852e465adcab | |
parent | a162df038f57502b21435034bf1e05e7e976d346 (diff) | |
download | infrastructure-aa6d2358a2e41d470bffc3a5a8e2b45a0ec32ada.tar.gz |
Install logstash monitoring
-rw-r--r-- | roles/logstash/tasks/main.yml | 11 |
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 |