Initial commit after Claude implementation

This commit is contained in:
Ian Roddis
2026-03-23 14:29:32 -03:00
commit 5920d3fd7a
62 changed files with 1847 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
---
- name: Create Wazuh directories
ansible.builtin.file:
path: "{{ item }}"
state: directory
mode: '0755'
loop:
- "{{ wazuh_data_dir }}"
- "{{ wazuh_data_dir }}/config"
- name: Set vm.max_map_count for Wazuh indexer (OpenSearch)
ansible.posix.sysctl:
name: vm.max_map_count
value: '262144'
state: present
sysctl_set: true
- name: Deploy Wazuh docker-compose
ansible.builtin.template:
src: docker-compose.yml.j2
dest: "{{ wazuh_data_dir }}/docker-compose.yml"
mode: '0644'
notify: restart wazuh
- name: Start Wazuh
community.docker.docker_compose_v2:
project_src: "{{ wazuh_data_dir }}"
state: present