Fix indexer name format
This commit is contained in:
parent
a293c3353a
commit
8807df5e64
@ -9,7 +9,7 @@
|
|||||||
when: (ansible_facts['distribution'] == "Debian" and ansible_facts['distribution_major_version'] == "9")
|
when: (ansible_facts['distribution'] == "Debian" and ansible_facts['distribution_major_version'] == "9")
|
||||||
block:
|
block:
|
||||||
|
|
||||||
- name: Install Wazuh-Indexer dependencies
|
- name: Install Wazuh indexer dependencies
|
||||||
apt:
|
apt:
|
||||||
name: [
|
name: [
|
||||||
'unzip', 'wget', 'curl', 'apt-transport-https', software-properties-common
|
'unzip', 'wget', 'curl', 'apt-transport-https', software-properties-common
|
||||||
@ -35,22 +35,21 @@
|
|||||||
environment:
|
environment:
|
||||||
JAVA_HOME: /usr
|
JAVA_HOME: /usr
|
||||||
|
|
||||||
- name: Add Wazuh-Indexer repository
|
- name: Add Wazuh indexer repository
|
||||||
block:
|
block:
|
||||||
- name: Add apt repository signing key
|
- name: Add apt repository signing key
|
||||||
apt_key:
|
apt_key:
|
||||||
url: "{{ package_repos.apt.indexer.gpg }}"
|
url: "{{ package_repos.apt.indexer.gpg }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Add Indexer repository
|
- name: Add Wazuh indexer repository
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "{{ package_repos.apt.indexer.baseurl }}"
|
repo: "{{ package_repos.apt.indexer.baseurl }}"
|
||||||
state: present
|
state: present
|
||||||
filename: 'wazuh-indexer'
|
filename: 'wazuh-indexer'
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
- name: Install Wazuh-Indexer
|
- name: Install Wazuh indexer
|
||||||
## the indexer package should be installed instead
|
|
||||||
apt:
|
apt:
|
||||||
name: wazuh-indexer={{ indexer_version }}-1
|
name: wazuh-indexer={{ indexer_version }}-1
|
||||||
state: present
|
state: present
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user