Merge pull request #445 from wazuh/opendistro-fixes

Fixes for OpenDistro deployments
This commit is contained in:
Manuel J. Bernal 2020-07-14 16:29:03 +02:00 committed by GitHub
commit 8cc10a3750
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View File

@ -4,6 +4,7 @@
path: "{{ local_certs_path }}"
register: certificates_folder
delegate_to: localhost
become: no
tags:
- generate-certs
@ -77,6 +78,7 @@
run_once: true
delegate_to: localhost
become: no
tags:
- generate-certs
when:

View File

@ -20,7 +20,6 @@ wazuh_app_url: https://packages.wazuh.com/wazuhapp/wazuhapp
# The OpenDistro package repository
kibana_opendistro_version: -1.8.0-1 # Version includes the - for RedHat family compatibility, replace with = for Debian hosts
kibana_opendistro_package: "opendistroforelasticsearch-kibana{{ kibana_opendistro_version }}"
package_repos:
yum:

4
roles/opendistro/opendistro-kibana/tasks/main.yml Normal file → Executable file
View File

@ -23,7 +23,7 @@
- name: Install Kibana
package:
name: "{{ kibana_opendistro_package }}"
name: "opendistroforelasticsearch-kibana{{ kibana_opendistro_version }}"
state: present
register: install
tags: install
@ -75,7 +75,7 @@
- not build_from_sources
- name: Kibana optimization (can take a while)
shell: /usr/share/kibana/node/bin/node {{ node_options }} /usr/share/kibana/src/cli --optimize
shell: /usr/share/kibana/node/bin/node {{ node_options }} /usr/share/kibana/src/cli --optimize -c {{ kibana_conf_path }}/kibana.yml
args:
executable: /bin/bash
become: yes