Override default Wazuh API credentials in the production-ready playbook to target manager ip
This commit is contained in:
parent
a70d072578
commit
82b5771ff6
@ -229,6 +229,12 @@ The hereunder example playbook uses the `wazuh-ansible` role to provision a prod
|
|||||||
vars:
|
vars:
|
||||||
indexer_network_host: "{{ hostvars.wi1.private_ip }}"
|
indexer_network_host: "{{ hostvars.wi1.private_ip }}"
|
||||||
dashboard_node_name: node-6
|
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
|
ansible_shell_allow_world_readable_temp: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -164,4 +164,10 @@
|
|||||||
- "{{ hostvars.wi2.private_ip }}"
|
- "{{ hostvars.wi2.private_ip }}"
|
||||||
- "{{ hostvars.wi3.private_ip }}"
|
- "{{ hostvars.wi3.private_ip }}"
|
||||||
dashboard_node_name: node-6
|
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
|
ansible_shell_allow_world_readable_temp: true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user