diff --git a/README.md b/README.md index 5eebdaa46c5f5b779bce3e6e868a4ca4906e3d42..3af34b0d7456fca1b99edb813f9f3e0a2adf5ff8 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`):