# Node inventory for the Wazuh certificate tool, three-node indexer with a
# manager master and one worker.
#
# Source (structure and comments): the 5.0-beta step-by-step indexer install,
# https://documentation.wazuh.com/5.0-beta/installation-guide/wazuh-indexer/step-by-step.html
#
# Use with:
#   bash ./wazuh-certs-tool-5.0.0-beta5.sh -A
#   tar -cvf ./wazuh-certificates.tar -C ./wazuh-certificates/ .
#   rm -rf ./wazuh-certificates
# Then copy wazuh-certificates.tar to every node.
#
# The `name` of each indexer node MUST match the `node.name` you later set in
# /etc/wazuh-indexer/opensearch.yml on that node, and its distinguished name
# must appear in plugins.security.nodes_dn on every indexer node.

nodes:
  # Wazuh indexer nodes
  indexer:
    - name: indexer
      ip: "<indexer-1-ip>"
    - name: indexer-2
      ip: "<indexer-2-ip>"
    - name: indexer-3
      ip: "<indexer-3-ip>"

  # Wazuh manager nodes
  # If there is more than one Wazuh manager node, each one must have a node_type
  manager:
    - name: manager
      ip: "<manager-master-ip>"
      node_type: master
    - name: manager-2
      ip: "<manager-worker-ip>"
      node_type: worker

  # Wazuh dashboard nodes
  dashboard:
    - name: dashboard
      ip: "<dashboard-node-ip>"
