forked from wazuh/wazuh-docker
Fix multi node config.yml
This commit is contained in:
+23
-21
@@ -333,27 +333,29 @@ jobs:
|
|||||||
curl -sL "$wazuh_certs_tool_url" -o ./wazuh-certs-tool.sh
|
curl -sL "$wazuh_certs_tool_url" -o ./wazuh-certs-tool.sh
|
||||||
cat > config.yml <<EOF
|
cat > config.yml <<EOF
|
||||||
nodes:
|
nodes:
|
||||||
# Wazuh indexer server nodes
|
# Wazuh indexer server nodes
|
||||||
indexer:
|
indexer:
|
||||||
- name: wazuh1.indexer
|
- name: wazuh1.indexer
|
||||||
ip: wazuh1.indexer
|
ip: wazuh1.indexer
|
||||||
- name: wazuh2.indexer
|
- name: wazuh2.indexer
|
||||||
ip: wazuh2.indexer
|
ip: wazuh2.indexer
|
||||||
- name: wazuh3.indexer
|
- name: wazuh3.indexer
|
||||||
ip: wazuh3.indexer
|
ip: wazuh3.indexer
|
||||||
# Wazuh server nodes
|
|
||||||
# Use node_type only with more than one Wazuh manager
|
# Wazuh server nodes
|
||||||
server:
|
# Use node_type only with more than one Wazuh manager
|
||||||
- name: wazuh.master
|
server:
|
||||||
ip: wazuh.master
|
- name: wazuh.master
|
||||||
node_type: master
|
ip: wazuh.master
|
||||||
- name: wazuh.worker
|
node_type: master
|
||||||
ip: wazuh.worker
|
- name: wazuh.worker
|
||||||
node_type: worker
|
ip: wazuh.worker
|
||||||
# Wazuh dashboard node
|
node_type: worker
|
||||||
dashboard:
|
|
||||||
- name: wazuh.dashboard
|
# Wazuh dashboard node
|
||||||
ip: wazuh.dashboard
|
dashboard:
|
||||||
|
- name: wazuh.dashboard
|
||||||
|
ip: wazuh.dashboard
|
||||||
EOF
|
EOF
|
||||||
cat config.yml
|
cat config.yml
|
||||||
bash ./wazuh-certs-tool.sh -A
|
bash ./wazuh-certs-tool.sh -A
|
||||||
|
|||||||
Reference in New Issue
Block a user