diff --git a/Makefile b/Makefile index 365b18fe066c2c11b33f1af72be94ca094fd3885..28440294daabb88bd78911f42c8b5e124ab67829 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ ANSIBLE_DIR = $(DEPLOY_DIR)/ansible include $(ENV_DIR)/$(ENVIRONMENT).mk ANSIBLE_ARGS = -i $(ENV_DIR)/inventory.txt \ - -e ansible_dir=$(ANSIBLE_DIR) \ - -e environment_dir=$(ENV_DIR) + -e ansible_dir=$(ANSIBLE_DIR) \ + -e environment_dir=$(ENV_DIR) clone-wazuh: -git clone https://github.com/wazuh/wazuh-ansible.git > /dev/null 2>&1 diff --git a/ansible/provision-managers.yml b/ansible/provision-managers.yml index 3db5bd8d052baba9b29d672ce52aaa3ab04a68d2..6b57603e940504b9535568ca27bfc5ca698bd0bc 100644 --- a/ansible/provision-managers.yml +++ b/ansible/provision-managers.yml @@ -20,6 +20,8 @@ hook_url: "{{ custom_integration_hook }}" alert_level: "{{ custom_integration_alert_level }}" alert_format: "{{ custom_integration_alert_format }}" + wazuh_manager_config: + email_notification: "yes" minimum_master_nodes: 1 elasticsearch_node_master: true elasticsearch_network_host: "0.0.0.0" diff --git a/environments/full-setup/Vagrantfile b/environments/full-setup/Vagrantfile index 3b0684f7073d67e9abd9a44697ed55820bf433c1..13653584f2ba8733304c851ace2e2b200b4f86b0 100644 --- a/environments/full-setup/Vagrantfile +++ b/environments/full-setup/Vagrantfile @@ -5,7 +5,7 @@ servers=[ { :hostname => "manager", :ip => "192.168.33.10", - :box => "centos/8", + :box => "centos/stream8", :forward_ports => [{:guest => 55000, :host => 55000}, {:guest => 9200, :host => 9200}], :ram => 2048, :cpu => 2 @@ -13,28 +13,28 @@ servers=[ { :hostname => "agent1", :ip => "192.168.33.11", - :box => "centos/8", + :box => "centos/stream8", :ram => 1024, :cpu => 1 }, { :hostname => "agent2", :ip => "192.168.33.12", - :box => "centos/8", + :box => "centos/stream8", :ram => 1024, :cpu => 1 }, { :hostname => "evidence-collector", :ip => "192.168.33.13", - :box => "centos/8", + :box => "centos/stream8", :ram => 1024, :cpu => 2 }, { :hostname => "clouditor", :ip => "192.168.33.14", - :box => "centos/8", + :box => "centos/stream8", :forward_ports => [{:guest => 9090, :host => 9090}], :ram => 1024, :cpu => 1 diff --git a/environments/no-collector/Vagrantfile b/environments/no-collector/Vagrantfile index 33cc1da1d2bdd13f193f816be337471107f60b19..c4dbab508147568221b7c53763b3159e52c2e9e5 100644 --- a/environments/no-collector/Vagrantfile +++ b/environments/no-collector/Vagrantfile @@ -5,21 +5,21 @@ servers=[ { :hostname => "manager", :ip => "192.168.33.10", - :box => "centos/8", + :box => "centos/stream8", :ram => 2048, :cpu => 2 }, { :hostname => "agent1", :ip => "192.168.33.11", - :box => "centos/8", + :box => "centos/stream8", :ram => 1024, :cpu => 1 }, { :hostname => "agent2", :ip => "192.168.33.12", - :box => "centos/8", + :box => "centos/stream8", :ram => 1024, :cpu => 1 }