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
|
wazuh_plugin_branch: 3.11-7.6
|
||||||
|
|
||||||
#Nodejs NODE_OPTIONS
|
#Nodejs NODE_OPTIONS
|
||||||
kibana_script_node_options: ""
|
|
||||||
node_options: --max-old-space-size=4096
|
node_options: --max-old-space-size=4096
|
||||||
|
|||||||
@ -62,18 +62,6 @@
|
|||||||
- kibana_xpack_security
|
- kibana_xpack_security
|
||||||
tags: 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
|
- name: Ensuring certificates folder owner
|
||||||
file:
|
file:
|
||||||
path: "{{ node_certs_destination }}/"
|
path: "{{ node_certs_destination }}/"
|
||||||
@ -129,7 +117,6 @@
|
|||||||
- build_from_sources is defined
|
- build_from_sources is defined
|
||||||
- build_from_sources
|
- build_from_sources
|
||||||
|
|
||||||
|
|
||||||
- name: Install Wazuh Plugin (can take a while)
|
- name: Install Wazuh Plugin (can take a while)
|
||||||
shell: >-
|
shell: >-
|
||||||
NODE_OPTIONS="{{ node_options }}" /usr/share/kibana/bin/kibana-plugin install
|
NODE_OPTIONS="{{ node_options }}" /usr/share/kibana/bin/kibana-plugin install
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user