From 9bdf32ba2a2d851aba59a86f3d72c1ba4ef09601 Mon Sep 17 00:00:00 2001 From: Jose Luis Ruiz Date: Fri, 21 Jul 2017 18:40:22 +0200 Subject: [PATCH] re-factoring --- README.md | 8 +++----- wazuh-elk.yml | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a7e53ad8..fec1ec4a 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ $ eval "$(ssh-agent -s)" $ ssh-add ~/.ssh/id_rsa_ansible ``` -Copy ~/.ssh/id_rsa_ansible.pub content into the .ssh/authorized_keys host where you want to deploy OSSEC Agents in. +Copy ~/.ssh/id_rsa_ansible.pub content into the .ssh/authorized_keys host where you want to deploy Wazuh Agents in. ## Configuring Ansible Hosts @@ -55,7 +55,7 @@ Add destination hosts: ``` cd ~ -git clone https://github.com/wazuh/wazuh-playbook/ +git clone https://github.com/wazuh/wazuh-ansible/ cp -pr wazuh-playbook/* /etc/ansible/roles/ ``` @@ -67,7 +67,7 @@ Create in your home o preferred folder the file agent.yml with the content: ``` - hosts: all:!wazuh-manager roles: - - { role: ansible-wazuh-agent, ossec_server_ip: 10.0.0.51 } + - { role: ansible-wazuh-agent, wazuh_manager_ip: 10.0.0.51 } ``` and other file with wazuh-manager.yml with the content: @@ -114,5 +114,3 @@ https://github.com/dj-wasabi/ansible-ossec-server ### Modified by Wazuh The playbooks have been modified by Wazuh, including some specific requirements, templates and configuration to improve integration with Wazuh ecosystem. - - diff --git a/wazuh-elk.yml b/wazuh-elk.yml index cbc01980..a6b52d62 100644 --- a/wazuh-elk.yml +++ b/wazuh-elk.yml @@ -1,7 +1,7 @@ - hosts: wazuh-manager roles: - role: ansible-wazuh-manager - - { role: ansible-role-filebeat, filebeat_output_logstash_hosts: '192.168.212.187:5000' } + - { role: ansible-role-filebeat, filebeat_output_logstash_hosts: '192.168.212.185:5000' } - hosts: elastic_stack roles: - { role: ansible-role-elasticsearch, elasticsearch_network_host: 'localhost' }