From aa8d0e217cecd656c1b996f313adb15b992f1023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C5=BEe=20=C5=BDitnik?= <anze.zitnik@xlab.si> Date: Mon, 11 Apr 2022 15:16:30 +0200 Subject: [PATCH] Update README --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5eebdaa..3af34b0 100644 --- a/README.md +++ b/README.md @@ -163,16 +163,19 @@ Wazuh manager and Evidence collector should be installed on the same, clean mach > Note: this will copy your default SSH pub-key from `~/.ssh/id_rsa.pub`. -3. Add machine info to `/custom-provision/custom-inventory.txt` file (see `/environments/.../inventory.txt` file for example). +3. Add machine info to `/custom-provision/custom-inventory.txt` file (see `/environments/.../inventory.txt` file for example). + Multiple machines can be added under "wazuh_agents" (one line for each machine). Make sure to set correct variables: | Variable | Description | | -------- | -------- | | `public_ip` | Machine's IP address. | - | `ansible_sudo_pass` | Machine's root password. | + | `ansible_host` | Machine's IP address / hostname used for SSH. | + | `ansible_port` | SSH port. | + | `ansible_sudo_pass` | (optional) Machine's root password. | | `ansible_ssh_user` | Username used to SSH (and later used by Ansible). | - | `ansible_ssh_pass` | SSH password (corresponding to `ansible_ssh_user`). | + | `ansible_ssh_pass` | (optional) SSH password (corresponding to `ansible_ssh_user`). | | `ansible_ssh_private_key_file` | Location of your private key (corresponding to public key set in previous step). | Example (user: `root`, password: `admin`, @ `192.168.0.13`): -- GitLab