Merge pull request #328 from wazuh/feature-327-update-app-installation

Change Wazuh APP installation to do it as kibana user
This commit is contained in:
Manuel J. Bernal 2019-11-21 12:42:36 +01:00 committed by GitHub
commit 2541cde64e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,14 +98,14 @@
tags: install tags: install
- name: Install Wazuh-APP (can take a while) - name: Install Wazuh-APP (can take a while)
shell: | shell: "/usr/share/kibana/bin/kibana-plugin install {{ wazuh_app_url }}-{{ wazuh_version }}_{{ elastic_stack_version }}.zip"
/usr/share/kibana/bin/kibana-plugin --allow-root install \
https://packages.wazuh.com/wazuhapp/wazuhapp-{{ wazuh_version }}_{{ elastic_stack_version }}.zip
environment: environment:
NODE_OPTIONS: "--max-old-space-size=3072" NODE_OPTIONS: "--max-old-space-size=3072"
args: args:
executable: /bin/bash executable: /bin/bash
creates: /usr/share/kibana/plugins/wazuh/package.json creates: /usr/share/kibana/plugins/wazuh/package.json
become: yes
become_user: kibana
notify: restart kibana notify: restart kibana
tags: tags:
- install - install