Merge branch '732-indexer-dashboard' of github.com:wazuh/wazuh-ansible into 732-indexer-dashboard
This commit is contained in:
commit
3927f73cc6
@ -75,7 +75,7 @@ These playbooks install and configure Wazuh agent, manager and indexer and dashb
|
|||||||
## Example: production-ready distributed environment
|
## Example: production-ready distributed environment
|
||||||
|
|
||||||
### Playbook
|
### Playbook
|
||||||
The hereunder example playbook uses the `wazuh-ansible` role to provision a production-ready Wazuh environment. The architecture includes 2 Wazuh nodes, 3 Wazuh Indexer nodes and a mixed Wazuh dashboard node.
|
The hereunder example playbook uses the `wazuh-ansible` role to provision a production-ready Wazuh environment. The architecture includes 2 Wazuh nodes, 3 Wazuh indexer nodes and a mixed Wazuh dashboard node.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
---
|
---
|
||||||
@ -126,7 +126,7 @@ The hereunder example playbook uses the `wazuh-ansible` role to provision a prod
|
|||||||
tags:
|
tags:
|
||||||
- generate-certs
|
- generate-certs
|
||||||
|
|
||||||
#Wazuh Indexer Cluster
|
# Wazuh indexer cluster
|
||||||
- hosts: wi_cluster
|
- hosts: wi_cluster
|
||||||
strategy: free
|
strategy: free
|
||||||
roles:
|
roles:
|
||||||
@ -172,7 +172,7 @@ The hereunder example playbook uses the `wazuh-ansible` role to provision a prod
|
|||||||
ip: "{{ hostvars.dashboard.private_ip }}"
|
ip: "{{ hostvars.dashboard.private_ip }}"
|
||||||
role: dashboard
|
role: dashboard
|
||||||
|
|
||||||
#Wazuh cluster
|
# Wazuh cluster
|
||||||
- hosts: manager
|
- hosts: manager
|
||||||
roles:
|
roles:
|
||||||
- role: "../roles/wazuh/ansible-wazuh-manager"
|
- role: "../roles/wazuh/ansible-wazuh-manager"
|
||||||
@ -234,7 +234,7 @@ The hereunder example playbook uses the `wazuh-ansible` role to provision a prod
|
|||||||
- "{{ hostvars.wi2.private_ip }}"
|
- "{{ hostvars.wi2.private_ip }}"
|
||||||
- "{{ hostvars.wi3.private_ip }}"
|
- "{{ hostvars.wi3.private_ip }}"
|
||||||
|
|
||||||
#Indexer+Dashboard node
|
# Indexer + dashboard node
|
||||||
- hosts: dashboard
|
- hosts: dashboard
|
||||||
roles:
|
roles:
|
||||||
- role: "../roles/wazuh/wazuh-indexer"
|
- role: "../roles/wazuh/wazuh-indexer"
|
||||||
|
|||||||
@ -46,7 +46,7 @@
|
|||||||
tags:
|
tags:
|
||||||
- generate-certs
|
- generate-certs
|
||||||
|
|
||||||
#Wazuh Indexer Cluster
|
# Wazuh indexer cluster
|
||||||
- hosts: wi_cluster
|
- hosts: wi_cluster
|
||||||
strategy: free
|
strategy: free
|
||||||
roles:
|
roles:
|
||||||
@ -92,7 +92,7 @@
|
|||||||
ip: "{{ hostvars.dashboard.private_ip }}"
|
ip: "{{ hostvars.dashboard.private_ip }}"
|
||||||
role: dashboard
|
role: dashboard
|
||||||
|
|
||||||
#Wazuh cluster
|
# Wazuh cluster
|
||||||
- hosts: manager
|
- hosts: manager
|
||||||
roles:
|
roles:
|
||||||
- role: "../roles/wazuh/ansible-wazuh-manager"
|
- role: "../roles/wazuh/ansible-wazuh-manager"
|
||||||
@ -154,7 +154,7 @@
|
|||||||
- "{{ hostvars.wi2.private_ip }}"
|
- "{{ hostvars.wi2.private_ip }}"
|
||||||
- "{{ hostvars.wi3.private_ip }}"
|
- "{{ hostvars.wi3.private_ip }}"
|
||||||
|
|
||||||
#Indexer+Dashboard node
|
# Indexer + dashboard node
|
||||||
- hosts: dashboard
|
- hosts: dashboard
|
||||||
roles:
|
roles:
|
||||||
- role: "../roles/wazuh/wazuh-indexer"
|
- role: "../roles/wazuh/wazuh-indexer"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user