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