A role for controlling OSSEC agents via Wazuh RESTful API using Ansible.
Clone this repo into your roles directory:
$ git clone https://github.com/gfolga/ansible-ossec-agent-control.git roles/ossec-agent-control
And add it to your play's roles:
- hosts: ...
vars:
- restart: True
- syscheck: True
- cleardb: False
roles:
- ossec-agent-control
- ...
Initial version.