removing kibana script extra node options
This commit is contained in:
parent
84b5510e30
commit
f4b70ab1c6
@ -50,5 +50,4 @@ build_from_sources: false
|
||||
wazuh_plugin_branch: 3.11-7.6
|
||||
|
||||
#Nodejs NODE_OPTIONS
|
||||
kibana_script_node_options: ""
|
||||
node_options: --max-old-space-size=4096
|
||||
|
||||
@ -62,18 +62,6 @@
|
||||
- kibana_xpack_security
|
||||
tags: xpack-security
|
||||
|
||||
- name: Kibana script additional configuration for node
|
||||
replace:
|
||||
path: /usr/share/kibana/bin/kibana
|
||||
regexp: >-
|
||||
NODE_OPTIONS=\"--no-warnings --max-http-header-size=65536 \$\{NODE_OPTIONS\}\"
|
||||
NODE_ENV=production exec \"\$\{NODE}\" \"\$\{DIR\}/src/cli\" \$\{@\}
|
||||
replace: >-
|
||||
NODE_OPTIONS="--no-warnings {{ kibana_script_node_options }} --max-http-header-size=65536 ${NODE_OPTIONS}"
|
||||
NODE_ENV=production exec "${NODE}" "${DIR}/src/cli" ${@}
|
||||
when: kibana_script_node_options | length > 0
|
||||
|
||||
|
||||
- name: Ensuring certificates folder owner
|
||||
file:
|
||||
path: "{{ node_certs_destination }}/"
|
||||
@ -129,7 +117,6 @@
|
||||
- build_from_sources is defined
|
||||
- build_from_sources
|
||||
|
||||
|
||||
- name: Install Wazuh Plugin (can take a while)
|
||||
shell: >-
|
||||
NODE_OPTIONS="{{ node_options }}" /usr/share/kibana/bin/kibana-plugin install
|
||||
|
||||
Loading…
Reference in New Issue
Block a user