Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed Windows agent support in Ansible deployment #6640

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,23 @@ The following minimum requirements should be met to use Ansible on Windows endpo
- At least .NET version 4.0 should be installed on the Windows endpoint.
- A WinRM listener should be created and activated.

Before deploying on your Windows endpoints, you must set Ansible to use port ``5986`` . Edit the ``/etc/ansible/hosts`` file and add a configuration block for the Windows agents. For example:

.. code-block:: ini

[windows_agents]
agent1 ansible_host=192.168.1.101 ansible_port=5986
agent2 ansible_host=192.168.1.102 ansible_port=5986
agent3 ansible_host=192.168.1.103 ansible_port=5986

Where:

- ``windows_agents`` is a host group name for the Windows agents.
- ``agent1``, ``agent2``, and ``agent3`` are names for each host.
- ``192.168.1.101``–``103`` are the respective Windows host IP addresses.

Make sure to replace these values with your Windows agents actual data. Add and remove lines accordingly.

Installation on CentOS/RHEL/Fedora
----------------------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ We can install the Wazuh agent on endpoints using the roles and playbooks availa

- SSH key-pairing should already be configured between the ansible deployment server and the endpoints.
- Add the endpoints where the agent will be deployed in the Ansible hosts file under the ``[wazuh-agents]`` hosts group.
- This playbook does not support deploying Wazuh agents to Windows and macOS endpoints.

1 - Accessing the wazuh-ansible directory
-----------------------------------------
Expand Down