Add dependencies to install Wazuh manager from sources

This commit is contained in:
VictorMorenoJimenez 2021-03-31 09:55:05 +02:00
parent 208edeaf7c
commit 823fd336d3
No known key found for this signature in database
GPG Key ID: CE9668E2E3083179
2 changed files with 12 additions and 0 deletions

View File

@ -97,6 +97,12 @@
tags: tags:
- config - config
- name: Install dependencies to build from sources
apt:
name: ['make', 'gcc', 'automake', 'autoconf', 'libtool', 'tar', 'libssl-dev', 'g++']
state: present
when: wazuh_manager_sources_installation.enabled
- name: Debian/Ubuntu | Install wazuh-manager - name: Debian/Ubuntu | Install wazuh-manager
apt: apt:
name: name:

View File

@ -92,6 +92,12 @@
when: when:
- ansible_distribution == "Amazon" and ansible_distribution_major_version == "NA" - ansible_distribution == "Amazon" and ansible_distribution_major_version == "NA"
- name: Install dependencies to build from sources
yum:
name: ['make', 'gcc', 'automake', 'autoconf', 'libtool', 'tar', 'openssl-devel', 'gcc-c++']
state: present
when: wazuh_manager_sources_installation.enabled
- name: CentOS/RedHat/Amazon | Install wazuh-manager - name: CentOS/RedHat/Amazon | Install wazuh-manager
package: package:
name: "wazuh-manager-{{ wazuh_manager_version }}" name: "wazuh-manager-{{ wazuh_manager_version }}"