diff --git a/playbooks/wazuh-agent.yml b/playbooks/wazuh-agent.yml index 22fcfa778..1072e3889 100644 --- a/playbooks/wazuh-agent.yml +++ b/playbooks/wazuh-agent.yml @@ -1,16 +1,17 @@ --- -- hosts: +- hosts: wazuh_clients:!wazuh_aio become: yes become_user: root roles: - ../roles/wazuh/ansible-wazuh-agent vars: wazuh_managers: - - address: + - address: wazuh_aio port: 1514 protocol: tcp api_port: 55000 api_proto: 'http' api_user: ansible max_retries: 5 - retry_interval: 5 \ No newline at end of file + retry_interval: 5 +