According to the Roles documentation, the Ansible roles can be installed by running:
# cd /etc/ansible/roles
# git clone --branch v4.14.1 https://github.com/wazuh/wazuh-ansible.git
According to the Wazuh Agent Role documentation, it can be called in a playbook like so:
- hosts: all:!wazuh-manager
roles:
- ansible-wazuh-agent
This is the error I'm seeing:
ERROR! the role 'ansible-wazuh-agent' was not found in ... /etc/ansible/roles ...
The error appears to be in './install_wazuh_agent_playbook.yml': line 11, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
roles:
- ansible-wazuh-agent
^ here
Searching the source of this repo, the role ansible-wazuh-agent doesn't exist. What is the proper way to call the wazuh-agent role?
According to the Roles documentation, the Ansible roles can be installed by running:
According to the Wazuh Agent Role documentation, it can be called in a playbook like so:
This is the error I'm seeing:
Searching the source of this repo, the role
ansible-wazuh-agentdoesn't exist. What is the proper way to call the wazuh-agent role?