Modifying variable names
This commit is contained in:
parent
70f04803c9
commit
6609cc9aa7
@ -16,11 +16,12 @@
|
|||||||
- <node-3 IP>
|
- <node-3 IP>
|
||||||
elasticsearch_xpack_security: true
|
elasticsearch_xpack_security: true
|
||||||
node_certs_generator: true
|
node_certs_generator: true
|
||||||
|
elasticsearch_xpack_security_password: elastic_pass
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
instances:
|
instances:
|
||||||
- name: node-1 # Important: must be equal to elasticsearch_node_name.
|
- name: node-1 # Important: must be equal to elasticsearch_node_name.
|
||||||
ip: <node-1 IP> # When unzipping, node will search for his node name folder to get the cert.
|
ip: <node-1 IP> # When unzipping, the node will search for its node name folder to get the cert.
|
||||||
|
|
||||||
- name: node-2
|
- name: node-2
|
||||||
ip: <node-2 IP>
|
ip: <node-2 IP>
|
||||||
@ -62,6 +63,7 @@
|
|||||||
# filebeat_xpack_security: true
|
# filebeat_xpack_security: true
|
||||||
# filebeat_node_name: node-2
|
# filebeat_node_name: node-2
|
||||||
# node_certs_generator: false
|
# node_certs_generator: false
|
||||||
|
# elasticsearch_xpack_security_password: elastic_pass
|
||||||
|
|
||||||
# - role: /etc/ansible/roles/wazuh-ansible/roles/elastic-stack/ansible-elasticsearch
|
# - role: /etc/ansible/roles/wazuh-ansible/roles/elastic-stack/ansible-elasticsearch
|
||||||
# elasticsearch_network_host: 172.16.0.162
|
# elasticsearch_network_host: 172.16.0.162
|
||||||
@ -79,9 +81,7 @@
|
|||||||
# roles:
|
# roles:
|
||||||
# - role: /etc/ansible/roles/wazuh-ansible/roles/elastic-stack/ansible-kibana
|
# - role: /etc/ansible/roles/wazuh-ansible/roles/elastic-stack/ansible-kibana
|
||||||
# kibana_xpack_security: true
|
# kibana_xpack_security: true
|
||||||
# kibana_user: elastic
|
|
||||||
# kibana_password: elastic_pass
|
|
||||||
# kibana_node_name: node-3
|
# kibana_node_name: node-3
|
||||||
# elasticsearch_network_host: 172.16.0.161
|
# elasticsearch_network_host: 172.16.0.161
|
||||||
# node_certs_generator: false
|
# node_certs_generator: false
|
||||||
|
# elasticsearch_xpack_security_password: elastic_pass
|
||||||
@ -11,8 +11,8 @@ wazuh_version: 3.9.2
|
|||||||
# Xpack Security
|
# Xpack Security
|
||||||
kibana_xpack_security: false
|
kibana_xpack_security: false
|
||||||
|
|
||||||
kibana_user: kibana
|
elasticsearch_xpack_security_user: elastic
|
||||||
kibana_password: elastic_pass
|
elasticsearch_xpack_security_password: elastic_pass
|
||||||
|
|
||||||
node_certs_generator: false
|
node_certs_generator: false
|
||||||
node_certs_generator_ip: 172.16.0.161
|
node_certs_generator_ip: 172.16.0.161
|
||||||
|
|||||||
@ -105,8 +105,8 @@ elasticsearch.hosts: "http://{{ elasticsearch_network_host }}:{{ elasticsearch_h
|
|||||||
|
|
||||||
# Xpack Security
|
# Xpack Security
|
||||||
{% if kibana_xpack_security %}
|
{% if kibana_xpack_security %}
|
||||||
elasticsearch.username: "{{ kibana_user }}"
|
elasticsearch.username: "{{ elasticsearch_xpack_security_user }}"
|
||||||
elasticsearch.password: "{{ kibana_password }}"
|
elasticsearch.password: "{{ elasticsearch_xpack_security_password }}"
|
||||||
server.ssl.enabled: true
|
server.ssl.enabled: true
|
||||||
server.ssl.key: "{{node_certs_destination}}/{{ kibana_node_name }}.key"
|
server.ssl.key: "{{node_certs_destination}}/{{ kibana_node_name }}.key"
|
||||||
server.ssl.certificate: "{{node_certs_destination}}/{{ kibana_node_name }}.crt"
|
server.ssl.certificate: "{{node_certs_destination}}/{{ kibana_node_name }}.crt"
|
||||||
|
|||||||
@ -29,8 +29,8 @@ filebeat_ssl_insecure: "false"
|
|||||||
# Xpack Security
|
# Xpack Security
|
||||||
filebeat_xpack_security: false
|
filebeat_xpack_security: false
|
||||||
|
|
||||||
elasticsearch_user: elastic
|
elasticsearch_xpack_security_user: elastic
|
||||||
elasticsearch_password: elastic_pass
|
elasticsearch_xpack_security_password: elastic_pass
|
||||||
|
|
||||||
node_certs_generator : false
|
node_certs_generator : false
|
||||||
node_certs_generator_ip: 172.16.0.161
|
node_certs_generator_ip: 172.16.0.161
|
||||||
|
|||||||
@ -54,8 +54,8 @@ output.elasticsearch:
|
|||||||
indices:
|
indices:
|
||||||
- index: 'wazuh-alerts-3.x-%{+yyyy.MM.dd}'
|
- index: 'wazuh-alerts-3.x-%{+yyyy.MM.dd}'
|
||||||
{% if filebeat_xpack_security %}
|
{% if filebeat_xpack_security %}
|
||||||
username: {{ elasticsearch_user }}
|
username: {{ elasticsearch_xpack_security_user }}
|
||||||
password: {{ elasticsearch_password }}
|
password: {{ elasticsearch_xpack_security_password }}
|
||||||
protocol: https
|
protocol: https
|
||||||
ssl.certificate_authorities:
|
ssl.certificate_authorities:
|
||||||
- {{node_certs_destination}}/ca.crt
|
- {{node_certs_destination}}/ca.crt
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user