From e532e214d56c15f676c6ca45f1ba4ba8078849f3 Mon Sep 17 00:00:00 2001 From: zenidd Date: Thu, 1 Oct 2020 10:43:44 +0200 Subject: [PATCH] Using placeholders instead of addresses --- playbooks/wazuh-agent.yml | 4 ++-- playbooks/wazuh-manager.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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