Log4j fix added
This commit is contained in:
parent
c6be0b2dcd
commit
9c5a4651bb
@ -63,6 +63,17 @@
|
||||
notify: restart elasticsearch
|
||||
tags: configure
|
||||
|
||||
- name: Configure disabled log4j.
|
||||
template:
|
||||
src: "templates/disabledlog4j.options.j2"
|
||||
dest: /etc/elasticsearch/jvm.options.d/disabledlog4j.options
|
||||
owner: root
|
||||
group: elasticsearch
|
||||
mode: 0644
|
||||
force: yes
|
||||
notify: restart elasticsearch
|
||||
tags: install
|
||||
|
||||
# fix in new PR (ignore_errors)
|
||||
|
||||
- import_tasks: "RMRedHat.yml"
|
||||
|
||||
@ -0,0 +1,4 @@
|
||||
## JVM configuration
|
||||
|
||||
## Disable log4j
|
||||
-Dlog4j2.formatMsgNoLookups=true
|
||||
@ -55,6 +55,17 @@
|
||||
notify: restart elasticsearch
|
||||
tags: install
|
||||
|
||||
- name: Configure disabled log4j.
|
||||
template:
|
||||
src: "templates/disabledlog4j.options.j2"
|
||||
dest: /etc/elasticsearch/jvm.options.d/disabledlog4j.options
|
||||
owner: root
|
||||
group: elasticsearch
|
||||
mode: 0644
|
||||
force: yes
|
||||
notify: restart elasticsearch
|
||||
tags: install
|
||||
|
||||
- name: Ensure extra time for Elasticsearch to start on reboots
|
||||
lineinfile:
|
||||
path: /usr/lib/systemd/system/elasticsearch.service
|
||||
|
||||
@ -0,0 +1,4 @@
|
||||
## JVM configuration
|
||||
|
||||
## Disable log4j
|
||||
-Dlog4j2.formatMsgNoLookups=true
|
||||
Loading…
Reference in New Issue
Block a user