diff --git a/Ansible/install.yml b/Ansible/install.yml
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a2122573b8f0f871322059e1ea0a532eb35083d 100644
--- a/Ansible/install.yml
+++ b/Ansible/install.yml
@@ -0,0 +1,14 @@
+---
+- 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
diff --git a/Ansible/inventory.yml b/Ansible/inventory.yml
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e8c3a36e4d0a977d140dd65f372c8ce3d21bd23c 100644
--- a/Ansible/inventory.yml
+++ b/Ansible/inventory.yml
@@ -0,0 +1,14 @@
+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
diff --git a/Ansible/tasks/Security/wazuh.yml b/Ansible/tasks/Security/wazuh.yml
index 39b640f65db0c49c7b7d3f2be1012106208354c0..c7890f429aca7edf0ba31d3a532f4932281d2d82 100644
--- a/Ansible/tasks/Security/wazuh.yml
+++ b/Ansible/tasks/Security/wazuh.yml
@@ -18,6 +18,9 @@
   apt:
     - wazuh-agent
 
+- name: Config Wazuh Agent
+  shell: "agent-auth -m 192.168.255.247"
+
 - name: Enable Wazuh agent
   systemd:
     daemon_reload: true
diff --git a/Ansible/tasks/init.yml b/Ansible/tasks/init.yml
index 5870c1726f7988ec6b7d4d6ee2dc3e7ce76bbf30..c0f4aab3316d4f3b101ad65d3161ca8ea2c7ee14 100644
--- a/Ansible/tasks/init.yml
+++ b/Ansible/tasks/init.yml
@@ -10,6 +10,11 @@
     state: present
   with_items:
     - qemu-guest-agent
+    - prometheus-node-exporter
+
+- name: Set hostname
+  ansible.builtin.hostname:
+    name: {{ hostnmame }}
 
 - name: "Enable agent"
   ansible.builtin.service: