Use single variable for opendistro version

This commit is contained in:
Manuel Gutierrez 2020-07-13 20:57:51 +02:00
parent 6443e3a08c
commit f51b55860b
No known key found for this signature in database
GPG Key ID: CEB8789DAED15AAD
2 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,6 @@ wazuh_app_url: https://packages.wazuh.com/wazuhapp/wazuhapp
# The OpenDistro package repository # 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_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: package_repos:
yum: yum:

View File

@ -23,7 +23,7 @@
- name: Install Kibana - name: Install Kibana
package: package:
name: "{{ kibana_opendistro_package }}" name: "opendistroforelasticsearch-kibana{{ kibana_opendistro_version }}"
state: present state: present
register: install register: install
tags: install tags: install
@ -130,4 +130,4 @@
state: started state: started
- import_tasks: RMRedHat.yml - import_tasks: RMRedHat.yml
when: ansible_os_family == 'RedHat' when: ansible_os_family == 'RedHat'