From 165de68d264460d6cf02dec394d9c9d1c8138c4c Mon Sep 17 00:00:00 2001 From: binary Date: Fri, 22 Jan 2021 21:48:14 +0100 Subject: First revision for elastic/kibana stack --- roles/elasticsearch/tasks/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 roles/elasticsearch/tasks/main.yml (limited to 'roles/elasticsearch/tasks') 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 + -- cgit v1.2.3