We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 696a548 + 57f4366 commit 04f7394Copy full SHA for 04f7394
defaults/main.yml
@@ -8,6 +8,8 @@ elasticsearch_service_enabled: true
8
9
elasticsearch_network_host: localhost
10
elasticsearch_http_port: 9200
11
+elasticsearch_log: /var/log/elasticsearch
12
+elasticsearch_data: /var/lib/elasticsearch
13
14
elasticsearch_heap_size_min: 1g
15
elasticsearch_heap_size_max: 2g
templates/elasticsearch.yml.j2
@@ -31,11 +31,11 @@
31
#
32
# Path to directory where to store the data (separate multiple locations by comma):
33
34
-path.data: /var/lib/elasticsearch
+path.data: {{ elasticsearch_data }}
35
36
# Path to log files:
37
38
-path.logs: /var/log/elasticsearch
+path.logs: {{ elasticsearch_log }}
39
40
# ----------------------------------- Memory -----------------------------------
41
0 commit comments