forked from ISTI-ansible-roles/ansible-roles
Merge branch 'master' of adellam/ansible-roles into master
This commit is contained in:
commit
ec63d44d55
|
@ -31,6 +31,9 @@ elasticsearch_define_heap_size: False
|
||||||
elasticsearch_heap_size: 2g
|
elasticsearch_heap_size: 2g
|
||||||
elasticsearch_additional_java_opts: '-server -Djava.awt.headless=true -Dfile.encoding=UTF-8'
|
elasticsearch_additional_java_opts: '-server -Djava.awt.headless=true -Dfile.encoding=UTF-8'
|
||||||
elasticsearch_max_open_files: 65536
|
elasticsearch_max_open_files: 65536
|
||||||
|
elasticsearch_cluster_routing_allocation_disk_threshold_enabled: 'true'
|
||||||
|
elasticsearch_cluster_routing_allocation_disk_watermark_low: '85%'
|
||||||
|
elasticsearch_cluster_routing_allocation_disk_watermark_high: '90%'
|
||||||
# Compatibility with kernels <= 3.5. Set to False if you are using a newer kernel
|
# Compatibility with kernels <= 3.5. Set to False if you are using a newer kernel
|
||||||
elasticsearch_disable_bootstrap_syscall_filter: True
|
elasticsearch_disable_bootstrap_syscall_filter: True
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,7 @@
|
||||||
apt_repository: repo='{{ elasticsearch_repo }}' state=present update_cache=yes
|
apt_repository: repo='{{ elasticsearch_repo }}' state=present update_cache=yes
|
||||||
|
|
||||||
- name: Install the elasticsearch deb packages
|
- name: Install the elasticsearch deb packages
|
||||||
apt: name='{{ item }}' state={{ elasticsearch_package_state }} update_cache=yes cache_valid_time=1800
|
apt: name='{{ elasticsearch_packages }}' state={{ elasticsearch_package_state }} update_cache=yes cache_valid_time=1800
|
||||||
with_items: '{{ elasticsearch_packages }}'
|
|
||||||
|
|
||||||
- name: Install the elasticsearch startup default
|
- name: Install the elasticsearch startup default
|
||||||
template: src=elasticsearch-default.j2 dest=/etc/default/elasticsearch owner=root group=elasticsearch mode=0640
|
template: src=elasticsearch-default.j2 dest=/etc/default/elasticsearch owner=root group=elasticsearch mode=0640
|
||||||
|
@ -24,5 +23,4 @@
|
||||||
notify: Restart elasticsearch
|
notify: Restart elasticsearch
|
||||||
tags: [ 'ELK', 'elasticsearch', 'elk', 'elasticsearch_conf' ]
|
tags: [ 'ELK', 'elasticsearch', 'elk', 'elasticsearch_conf' ]
|
||||||
|
|
||||||
|
|
||||||
tags: [ 'ELK', 'elasticsearch', 'elk' ]
|
tags: [ 'ELK', 'elasticsearch', 'elk' ]
|
||||||
|
|
|
@ -24,7 +24,7 @@ node.name: {{ ansible_fqdn }}
|
||||||
|
|
||||||
{% if elasticsearch_major_version >= 7 %}
|
{% if elasticsearch_major_version >= 7 %}
|
||||||
cluster.initial_master_nodes:
|
cluster.initial_master_nodes:
|
||||||
{% for n in elasticsearch_bootstrap_known_masters 5}
|
{% for n in elasticsearch_bootstrap_known_masters %}
|
||||||
- {{ n }}
|
- {{ n }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -106,6 +106,11 @@ node.max_local_storage_nodes: {{ elasticsearch_max_local_storage_nodes }}
|
||||||
#
|
#
|
||||||
action.destructive_requires_name: {{ elasticsearch_destructive_requires_name }}
|
action.destructive_requires_name: {{ elasticsearch_destructive_requires_name }}
|
||||||
|
|
||||||
|
#
|
||||||
|
cluster.routing.allocation.disk.threshold_enabled: {{ elasticsearch_cluster_routing_allocation_disk_threshold_enabled }}
|
||||||
|
cluster.routing.allocation.disk.watermark.low: {{ elasticsearch_cluster_routing_allocation_disk_watermark_low }}
|
||||||
|
cluster.routing.allocation.disk.watermark.high: {{ elasticsearch_cluster_routing_allocation_disk_watermark_high }}
|
||||||
|
|
||||||
{% if elasticsearch_disable_bootstrap_syscall_filter %}
|
{% if elasticsearch_disable_bootstrap_syscall_filter %}
|
||||||
# When using an old kernel
|
# When using an old kernel
|
||||||
bootstrap.system_call_filter: false
|
bootstrap.system_call_filter: false
|
||||||
|
|
|
@ -71,7 +71,9 @@
|
||||||
-Dlog4j.shutdownHookEnabled=false
|
-Dlog4j.shutdownHookEnabled=false
|
||||||
-Dlog4j2.disable.jmx=true
|
-Dlog4j2.disable.jmx=true
|
||||||
|
|
||||||
|
{% if elasticsearch_major_version >= 6 %}
|
||||||
-Djava.io.tmpdir=${ES_TMPDIR}
|
-Djava.io.tmpdir=${ES_TMPDIR}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
## heap dumps
|
## heap dumps
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue