Skip to content
Snippets Groups Projects
Commit 14f11201 authored by Varga Máté György's avatar Varga Máté György
Browse files

ADD Wazuh and OSquery

parent b3b50b68
No related branches found
No related tags found
No related merge requests found
---
- name: Basic install
hosts: VMs
taksk:
- name: Basic stuff install
import_tasks: tasks/init.yml
- name: Security install
hosts: Security-req
tasks:
- name: Install Wazuh
import_tasks: tasks/Security/wazuh.yml
- name: Install OSquery
import_tasks: tasks/Security/osquery.yml
all:
hosts:
megbasztuk:
hostname: "megbasztuk"
ansible_host: 192.168.255.140
ansible_user: arcter
children:
Security-req:
hosts:
megbasztuk: {}
VMS:
children:
security: {}
\ No newline at end of file
...@@ -18,6 +18,9 @@ ...@@ -18,6 +18,9 @@
apt: apt:
- wazuh-agent - wazuh-agent
- name: Config Wazuh Agent
shell: "agent-auth -m 192.168.255.247"
- name: Enable Wazuh agent - name: Enable Wazuh agent
systemd: systemd:
daemon_reload: true daemon_reload: true
......
...@@ -10,6 +10,11 @@ ...@@ -10,6 +10,11 @@
state: present state: present
with_items: with_items:
- qemu-guest-agent - qemu-guest-agent
- prometheus-node-exporter
- name: Set hostname
ansible.builtin.hostname:
name: {{ hostnmame }}
- name: "Enable agent" - name: "Enable agent"
ansible.builtin.service: ansible.builtin.service:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment