First commit

This commit is contained in:
Adrien Reslinger 2019-07-29 00:09:11 +02:00
parent 51070053fb
commit 57542da42d
7 changed files with 92 additions and 0 deletions

20
tasks/main.yml Normal file
View file

@ -0,0 +1,20 @@
---
- name: Include vars for {{ ansible_os_family }}
include_vars: "{{ ansible_os_family }}.yml"
- name: Define repo for {{ ansible_os_family }}
include_tasks: add_repo_{{ ansible_os_family }}.yml
# -name: Need install NodeJS for wazuh API
- name: Install Wazuh server packages
package: name='{{ wazuh_server_packages }}' state=latest update_cache=yes
when:
- wazuh_server == true
# -name: Need to import role to install ELK
- name: Install Wazuh client packages
package: name='{{ wazuh_client_packages }}' state=latest update_cache=yes
when:
- wazuh_client == true