aboutsummaryrefslogtreecommitdiff
path: root/ansible/elasticsearch.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/elasticsearch.yml')
-rw-r--r--ansible/elasticsearch.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/ansible/elasticsearch.yml b/ansible/elasticsearch.yml
index 670bbe1..6b05ce7 100644
--- a/ansible/elasticsearch.yml
+++ b/ansible/elasticsearch.yml
@@ -16,6 +16,18 @@
group: elasticsearch
mode: u=rwx,go=rx
+ - name: /etc/default/elasticsearch
+ become: yes
+ copy:
+ dest: /etc/default/elasticsearch
+ content: ""
+ force: no
+ - become: yes
+ lineinfile:
+ dest: /etc/default/elasticsearch
+ line: "ES_PATH_CONF=/etc/elasticsearch"
+ regexp: "ES_PATH_CONF"
+
- hosts:
- elasticsearch-servers
roles: