Merge pull request #471 from wazuh/fix-kibana-directory-owner

Ensure recursive /usr/share/kibana permissions before installing WUI
This commit is contained in:
Manuel J. Bernal 2020-10-14 11:02:16 +02:00 committed by GitHub
commit 43251117bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: