Merge branch 'devel' into wazuh_release_3.13.1_7.8.0

This commit is contained in:
manuasir 2020-07-14 16:29:27 +02:00
commit 954f3d9070
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,7 +78,8 @@
run_once: true
delegate_to: localhost
become: no
tags:
- generate-certs
when:
- not certificates_folder.stat.exists
- not certificates_folder.stat.exists

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:

6
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
@ -130,4 +130,4 @@
state: started
- import_tasks: RMRedHat.yml
when: ansible_os_family == 'RedHat'
when: ansible_os_family == 'RedHat'