Change Wazuh APP installation to do it as kibana user
This commit is contained in:
parent
89557bdadd
commit
be1b60471e
@ -98,14 +98,13 @@
|
|||||||
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
|
become: yes
|
||||||
|
become_user: kibana
|
||||||
notify: restart kibana
|
notify: restart kibana
|
||||||
tags:
|
tags:
|
||||||
- install
|
- install
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user