Lint fixes

This commit is contained in:
Zenidd 2020-03-12 09:06:18 +01:00
parent efd55e5a5b
commit c0670f02af
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -69,7 +69,7 @@
'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
@ -132,7 +132,7 @@
- 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 {{ wazuh_app_url }} 'NODE_OPTIONS=" {{ node_options }} " /usr/share/kibana/bin/kibana-plugin install {{ wazuh_app_url }}
-{{ wazuh_version }}_{{ elastic_stack_version }}.zip' -{{ wazuh_version }}_{{ elastic_stack_version }}.zip'
args: args:
executable: /bin/bash executable: /bin/bash
@ -148,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