wazuh-ansible-4.8.1/roles/opensearch/wazuh-dashboard/tasks/Debian.yml
2022-02-02 13:17:37 -03:00

26 lines
676 B
YAML

---
- block:
- include_vars: debian.yml
- name: Add apt repository signing key
## 732 will not be needed. The wazuh repo should be added
apt_key:
url: "{{ package_repos.apt.indexer.gpg }}"
state: present
- name: Debian systems | Add OpenDistro repo
## 732 will not be needed. The wazuh repo should be added
apt_repository:
repo: "{{ package_repos.apt.indexer.baseurl }}"
state: present
update_cache: yes
- name: Install Wazuh-Dashboard
## 732 package name and task name should be updated.
apt:
name: "wazuh-dashboard={{ kibana_opendistro_version }}"
state: present
register: install
tags:
- install