@@ -34,14 +34,14 @@ Provisioning an infra VM for Wazuh Manager.
3434Kayobe supports :kayobe-doc: `provisioning infra VMs <deployment.html#infrastructure-vms> `.
3535The following configuration may be used as a guide. Config for infra VMs is documented :kayobe-doc: `here <configuration/reference/infra-vms> `.
3636
37- Add a Wazuh Manager host to the ``wazuh-manager `` group in ``etc/kayobe /inventory/hosts ``.
37+ Add a Wazuh Manager host to the ``wazuh-manager `` group in ``$KAYOBE_CONFIG_PATH /inventory/hosts ``.
3838
3939.. code-block :: ini
4040
4141 [wazuh-manager]
4242 os-wazuh
4343
44- Add the ``wazuh-manager `` group to the ``infra-vms `` group in ``etc/kayobe /inventory/groups ``.
44+ Add the ``wazuh-manager `` group to the ``infra-vms `` group in ``$KAYOBE_CONFIG_PATH /inventory/groups ``.
4545
4646.. code-block :: ini
4747
@@ -50,7 +50,7 @@ Add the ``wazuh-manager`` group to the ``infra-vms`` group in ``etc/kayobe/inven
5050 [infra-vms:children]
5151 wazuh-manager
5252
53- Define VM sizing in ``etc/kayobe /inventory/group_vars/wazuh-manager/infra-vms ``:
53+ Define VM sizing in ``$KAYOBE_CONFIG_PATH /inventory/group_vars/wazuh-manager/infra-vms ``:
5454
5555.. code-block :: yaml
5656
@@ -64,7 +64,7 @@ Define VM sizing in ``etc/kayobe/inventory/group_vars/wazuh-manager/infra-vms``:
6464 # Capacity of the infra VM data volume.
6565 infra_vm_data_capacity : " 200G"
6666
67- Optional: define LVM volumes in ``etc/kayobe /inventory/group_vars/wazuh-manager/lvm ``.
67+ Optional: define LVM volumes in ``$KAYOBE_CONFIG_PATH /inventory/group_vars/wazuh-manager/lvm ``.
6868``/var/ossec `` often requires greater storage space, and ``/var/lib/wazuh-indexer ``
6969may be beneficial too.
7070
@@ -86,7 +86,7 @@ may be beneficial too.
8686 create : true
8787
8888
89- Define network interfaces ``etc/kayobe /inventory/group_vars/wazuh-manager/network-interfaces ``:
89+ Define network interfaces ``$KAYOBE_CONFIG_PATH /inventory/group_vars/wazuh-manager/network-interfaces ``:
9090
9191(The following is an example - the names will depend on your particular network configuration.)
9292
@@ -98,7 +98,7 @@ Define network interfaces ``etc/kayobe/inventory/group_vars/wazuh-manager/networ
9898
9999
100100 The Wazuh manager may need to be exposed externally, in which case it may require another interface.
101- This can be done as follows in ``etc/kayobe /inventory/group_vars/wazuh-manager/network-interfaces ``,
101+ This can be done as follows in ``$KAYOBE_CONFIG_PATH /inventory/group_vars/wazuh-manager/network-interfaces ``,
102102with the network defined in ``networks.yml `` as usual.
103103
104104.. code-block :: yaml
@@ -190,7 +190,7 @@ Deploying Wazuh Manager services
190190Setup
191191-----
192192
193- To install a specific version modify the wazuh-ansible entry in ``etc/kayobe /ansible/requirements.yml ``:
193+ To install a specific version modify the wazuh-ansible entry in ``$KAYOBE_CONFIG_PATH /ansible/requirements.yml ``:
194194
195195.. code-block :: yaml
196196
@@ -211,7 +211,7 @@ Edit the playbook and variables to your needs:
211211Wazuh manager configuration
212212---------------------------
213213
214- Wazuh manager playbook is located in ``etc/kayobe /ansible/wazuh-manager.yml ``.
214+ Wazuh manager playbook is located in ``$KAYOBE_CONFIG_PATH /ansible/wazuh-manager.yml ``.
215215Running this playbook will:
216216
217217* generate certificates for wazuh-manager
@@ -221,7 +221,7 @@ Running this playbook will:
221221* setup and deploy wazuh-dashboard on wazuh-manager vm
222222* copy certificates over to wazuh-manager vm
223223
224- Wazuh manager variables file is located in ``etc/kayobe /inventory/group_vars/wazuh-manager/wazuh-manager ``.
224+ Wazuh manager variables file is located in ``$KAYOBE_CONFIG_PATH /inventory/group_vars/wazuh-manager/wazuh-manager ``.
225225
226226You may need to modify some of the variables, including:
227227
@@ -232,27 +232,27 @@ You may need to modify some of the variables, including:
232232
233233 If you are using multiple environments, and you need to customise Wazuh in
234234 each environment, create override files in an appropriate directory,
235- for example ``etc/kayobe /environments/production/inventory/group_vars/ ``.
235+ for example ``$KAYOBE_CONFIG_PATH /environments/production/inventory/group_vars/ ``.
236236
237237 Files which values can be overridden (in the context of Wazuh):
238238
239- - etc/kayobe /inventory/group_vars/wazuh/wazuh-manager/wazuh-manager
240- - etc/kayobe /wazuh-manager.yml
241- - etc/kayobe /inventory/group_vars/wazuh/wazuh-agent/wazuh-agent
239+ - $KAYOBE_CONFIG_PATH /inventory/group_vars/wazuh/wazuh-manager/wazuh-manager
240+ - $KAYOBE_CONFIG_PATH /wazuh-manager.yml
241+ - $KAYOBE_CONFIG_PATH /inventory/group_vars/wazuh/wazuh-agent/wazuh-agent
242242
243243You'll need to run ``wazuh-manager.yml `` playbook again to apply customisation.
244244
245245Secrets
246246-------
247247
248248Wazuh requires that secrets or passwords are set for itself and the services with which it communiticates.
249- Wazuh secrets playbook is located in ``etc/kayobe /ansible/wazuh-secrets.yml ``.
249+ Wazuh secrets playbook is located in ``$KAYOBE_CONFIG_PATH /ansible/wazuh-secrets.yml ``.
250250Running this playbook will generate and put pertinent security items into secrets
251251vault file which will be placed in ``$KAYOBE_CONFIG_PATH/wazuh-secrets.yml ``.
252252If using environments it ends up in ``$KAYOBE_CONFIG_PATH/environments/<env_name>/wazuh-secrets.yml ``
253253Remember to encrypt!
254254
255- Wazuh secrets template is located in ``etc/kayobe /ansible/templates/wazuh-secrets.yml.j2 ``.
255+ Wazuh secrets template is located in ``$KAYOBE_CONFIG_PATH /ansible/templates/wazuh-secrets.yml.j2 ``.
256256It will be used by wazuh secrets playbook to generate wazuh secrets vault file.
257257
258258
@@ -380,7 +380,7 @@ Verification
380380------------
381381
382382The Wazuh portal should be accessible on port 443 of the Wazuh
383- manager’s IPs (using HTTPS, with the root CA cert in ``etc/kayobe /ansible/wazuh/certificates/wazuh-certificates/root-ca.pem ``).
383+ manager’s IPs (using HTTPS, with the root CA cert in ``$KAYOBE_CONFIG_PATH /ansible/wazuh/certificates/wazuh-certificates/root-ca.pem ``).
384384The first login should be as the admin user,
385385with the opendistro_admin_password password in ``$KAYOBE_CONFIG_PATH/wazuh-secrets.yml ``.
386386This will create the necessary indices.
@@ -392,9 +392,9 @@ Logs are in ``/var/log/wazuh-indexer/wazuh.log``. There are also logs in the jou
392392Wazuh agents
393393============
394394
395- Wazuh agent playbook is located in ``etc/kayobe /ansible/wazuh-agent.yml ``.
395+ Wazuh agent playbook is located in ``$KAYOBE_CONFIG_PATH /ansible/wazuh-agent.yml ``.
396396
397- Wazuh agent variables file is located in ``etc/kayobe /inventory/group_vars/wazuh-agent/wazuh-agent ``.
397+ Wazuh agent variables file is located in ``$KAYOBE_CONFIG_PATH /inventory/group_vars/wazuh-agent/wazuh-agent ``.
398398
399399You may need to modify some variables, including:
400400
0 commit comments