Commit 61f91f0d authored by Jürgen Haas's avatar Jürgen Haas

ansible-roles/elasticsearch#15 Configure elasticsearch, kibana and haproxy for xpack security

parent 48954fdd
......@@ -8,3 +8,4 @@ elasticsearch:
- index: haproxy
retention: 60
mode: single
users: []
......@@ -41,8 +41,15 @@
- name: Configure ES
lineinfile:
dest: /etc/elasticsearch/elasticsearch.yml
regexp: '^search.max_open_scroll_context'
line: 'search.max_open_scroll_context: 15000'
regexp: '{{ item.regexp }}'
line: '{{ item.line }}'
with_items:
- regexp: '^search.max_open_scroll_context'
line: 'search.max_open_scroll_context: 15000'
- regexp: 'xpack.security.enabled'
line: 'xpack.security.enabled: true'
- regexp: 'xpack.security.transport.ssl.enabled'
line: 'xpack.security.transport.ssl.enabled: false'
- name: Start Elasticsearch
service:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment