Skip to content

Commit

Permalink
Merge pull request #6640 from wazuh/change/6532-windows-macos-agents-…
Browse files Browse the repository at this point in the history
…are-supported-in-ansible-deployment

Changed Windows agent support in Ansible deployment
  • Loading branch information
javimed committed Oct 19, 2023
2 parents 38cafed + 24d6739 commit 20d2e03
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
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

0 comments on commit 20d2e03

Please sign in to comment.