removing single quotes
This commit is contained in:
parent
3d2cce76fa
commit
dab2f69b68
@ -63,7 +63,7 @@
|
|||||||
chdir: "/tmp/app/build"
|
chdir: "/tmp/app/build"
|
||||||
|
|
||||||
- name: Install Wazuh Plugin (can take a while)
|
- name: Install Wazuh Plugin (can take a while)
|
||||||
shell: 'NODE_OPTIONS=" {{ node_options }} " /usr/share/kibana/bin/kibana-plugin install file:///tmp/app/build/{{ wazuhapp_package_name.stdout }}'
|
shell: NODE_OPTIONS=" {{ node_options }} " /usr/share/kibana/bin/kibana-plugin install file:///tmp/app/build/{{ wazuhapp_package_name.stdout }}
|
||||||
args:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
creates: /usr/share/kibana/plugins/wazuh/package.json
|
creates: /usr/share/kibana/plugins/wazuh/package.json
|
||||||
|
|||||||
@ -66,11 +66,11 @@
|
|||||||
replace:
|
replace:
|
||||||
path: /usr/share/kibana/bin/kibana
|
path: /usr/share/kibana/bin/kibana
|
||||||
regexp: >-
|
regexp: >-
|
||||||
'NODE_OPTIONS=\"--no-warnings --max-http-header-size=65536 \$\{NODE_OPTIONS\}\"
|
NODE_OPTIONS=\"--no-warnings --max-http-header-size=65536 \$\{NODE_OPTIONS\}\"
|
||||||
NODE_ENV=production exec \"\$\{NODE}\" \"\$\{DIR\}/src/cli\" \$\{@\}'
|
NODE_ENV=production exec \"\$\{NODE}\" \"\$\{DIR\}/src/cli\" \$\{@\}
|
||||||
replace: >-
|
replace: >-
|
||||||
'NODE_OPTIONS="--no-warnings {{ kibana_script_node_options }} --max-http-header-size=65536 ${NODE_OPTIONS}"
|
NODE_OPTIONS="--no-warnings {{ kibana_script_node_options }} --max-http-header-size=65536 ${NODE_OPTIONS}"
|
||||||
NODE_ENV=production exec "${NODE}" "${DIR}/src/cli" ${@}'
|
NODE_ENV=production exec "${NODE}" "${DIR}/src/cli" ${@}
|
||||||
when: kibana_script_node_options | length > 0
|
when: kibana_script_node_options | length > 0
|
||||||
|
|
||||||
|
|
||||||
@ -131,8 +131,9 @@
|
|||||||
|
|
||||||
|
|
||||||
- name: Install Wazuh Plugin (can take a while)
|
- name: Install Wazuh Plugin (can take a while)
|
||||||
shell: "NODE_OPTIONS=\" {{ node_options }} \" /usr/share/kibana/bin/kibana-plugin \
|
shell: >-
|
||||||
install {{ wazuh_app_url }}-{{ wazuh_version }}_{{ elastic_stack_version }}.zip"
|
NODE_OPTIONS=" {{ node_options }} " /usr/share/kibana/bin/kibana-plugin install
|
||||||
|
{{ wazuh_app_url }}-{{ wazuh_version }}_{{ elastic_stack_version }}.zip
|
||||||
args:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
creates: /usr/share/kibana/plugins/wazuh/package.json
|
creates: /usr/share/kibana/plugins/wazuh/package.json
|
||||||
@ -147,7 +148,7 @@
|
|||||||
- not build_from_sources
|
- not build_from_sources
|
||||||
|
|
||||||
- name: Kibana optimization (can take a while)
|
- name: Kibana optimization (can take a while)
|
||||||
shell: 'NODE_OPTIONS=" {{ node_options }} " /usr/share/kibana/bin/kibana --optimize'
|
shell: NODE_OPTIONS=" {{ node_options }} " /usr/share/kibana/bin/kibana --optimize
|
||||||
args:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
become: yes
|
become: yes
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user