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")
|
||||
block:
|
||||
|
||||
- name: Install Wazuh-Indexer dependencies
|
||||
- name: Install Wazuh indexer dependencies
|
||||
apt:
|
||||
name: [
|
||||
'unzip', 'wget', 'curl', 'apt-transport-https', software-properties-common
|
||||
@ -35,22 +35,21 @@
|
||||
environment:
|
||||
JAVA_HOME: /usr
|
||||
|
||||
- name: Add Wazuh-Indexer repository
|
||||
- name: Add Wazuh indexer repository
|
||||
block:
|
||||
- name: Add apt repository signing key
|
||||
apt_key:
|
||||
url: "{{ package_repos.apt.indexer.gpg }}"
|
||||
state: present
|
||||
|
||||
- name: Add Indexer repository
|
||||
- name: Add Wazuh indexer repository
|
||||
apt_repository:
|
||||
repo: "{{ package_repos.apt.indexer.baseurl }}"
|
||||
state: present
|
||||
filename: 'wazuh-indexer'
|
||||
update_cache: yes
|
||||
|
||||
- name: Install Wazuh-Indexer
|
||||
## the indexer package should be installed instead
|
||||
- name: Install Wazuh indexer
|
||||
apt:
|
||||
name: wazuh-indexer={{ indexer_version }}-1
|
||||
state: present
|
||||
|
||||
Loading…
Reference in New Issue
Block a user