From 82b5771ff6439956ae8e7b1be38161c5904d96e4 Mon Sep 17 00:00:00 2001 From: Jesus Garcia Date: Thu, 12 Mar 2026 11:57:00 -0500 Subject: [PATCH] Override default Wazuh API credentials in the production-ready playbook to target manager ip --- README.md | 6 ++++++ playbooks/wazuh-production-ready.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/README.md b/README.md index 27c7e751..b2c58168 100644 --- a/README.md +++ b/README.md @@ -229,6 +229,12 @@ The hereunder example playbook uses the `wazuh-ansible` role to provision a prod vars: indexer_network_host: "{{ hostvars.wi1.private_ip }}" dashboard_node_name: node-6 + wazuh_api_credentials: + - id: default + url: https://{{ hostvars.manager.private_ip }} + port: 55000 + username: "wazuh-wui" + password: "wazuh-wui" ansible_shell_allow_world_readable_temp: true ``` diff --git a/playbooks/wazuh-production-ready.yml b/playbooks/wazuh-production-ready.yml index 5d939c29..5f1e979a 100644 --- a/playbooks/wazuh-production-ready.yml +++ b/playbooks/wazuh-production-ready.yml @@ -164,4 +164,10 @@ - "{{ hostvars.wi2.private_ip }}" - "{{ hostvars.wi3.private_ip }}" dashboard_node_name: node-6 + wazuh_api_credentials: + - id: default + url: https://{{ hostvars.manager.private_ip }} + port: 55000 + username: "wazuh-wui" + password: "wazuh-wui" ansible_shell_allow_world_readable_temp: true