Dashboard dependencies added

This commit is contained in:
Gonzalo Acuña 2022-05-12 14:37:57 -03:00
parent e18418f4d9
commit 20c2abceea
No known key found for this signature in database
GPG Key ID: 646BA79A313A2270
2 changed files with 15 additions and 0 deletions

View File

@ -13,6 +13,13 @@
state: present
update_cache: yes
- name: Install Wazuh dashboard dependencies
apt:
name: [
'libnss3-dev', 'fonts-liberation', 'libfontconfig1'
]
state: present
- name: Install Wazuh dashboard
apt:
name: "wazuh-dashboard={{ dashboard_version }}-*"

View File

@ -10,6 +10,14 @@
gpgkey: "{{ wazuh_repo.gpg }}"
gpgcheck: true
- name: Install Dashboard dependencies
yum:
name: [
'libnss3.so', 'xorg-x11-fonts-100dpi', 'xorg-x11-fonts-75dpi', 'xorg-x11-utils', 'xorg-x11-fonts-cyrillic', 'xorg-x11-fonts-Type1', 'xorg-x11-fonts-misc', 'fontconfig', 'freetype'
]
state: present
ignore_errors: yes
- name: Install Wazuh dashboard
package:
name: "wazuh-dashboard-{{ dashboard_version }}"