diff --git a/playbooks/wazuh-agent.yml b/playbooks/wazuh-agent.yml index e4f7291c..be73e030 100644 --- a/playbooks/wazuh-agent.yml +++ b/playbooks/wazuh-agent.yml @@ -1,10 +1,10 @@ --- -- hosts: agents +- hosts: roles: - ../roles/wazuh/ansible-wazuh-agent vars: wazuh_managers: - - address: 172.16.0.111 + - address: port: 1514 protocol: tcp api_port: 55000 diff --git a/playbooks/wazuh-manager.yml b/playbooks/wazuh-manager.yml index 18bd3afe..5ec6a50b 100644 --- a/playbooks/wazuh-manager.yml +++ b/playbooks/wazuh-manager.yml @@ -1,8 +1,8 @@ --- -- hosts: managers +- hosts: roles: - role: ../roles/wazuh/ansible-wazuh-manager - role: ../roles/wazuh/ansible-filebeat - filebeat_output_elasticsearch_hosts: 172.16.0.161:9200 + filebeat_output_elasticsearch_hosts: :9200