Ensure recursive /usr/share/kibana permissions before installing WUI

This commit is contained in:
zenidd 2020-10-08 17:14:35 +02:00
parent c89b866e22
commit 671b7333fa
2 changed files with 16 additions and 0 deletions

View File

@ -98,6 +98,14 @@
name: kibana
state: started
- name: Ensuring Kibana directory owner
file:
path: "/usr/share/kibana"
state: directory
owner: kibana
group: kibana
recurse: yes
- name: Build and Install Wazuh Kibana Plugin from sources
import_tasks: build_wazuh_plugin.yml
when:

View File

@ -41,6 +41,14 @@
- install
- configure
- name: Ensuring Kibana directory owner
file:
path: "/usr/share/kibana"
state: directory
owner: kibana
group: kibana
recurse: yes
- name: Build and Install Wazuh Kibana Plugin from sources
import_tasks: build_wazuh_plugin.yml
when: