Andrew Bonney 5437ddbd86 Add support for enabling ELK stack security
Change-Id: I661662c0784010ca2fcc3b3d31df1a1d79dbed1e
2022-11-02 09:17:45 +00:00

59 lines
2.2 KiB
YAML

---
# Copyright 2018, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
cluster_name: openstack_elk
elastic_log_rotate_path: "/var/log/elasticsearch"
elastic_data_path: "/var/lib/elasticsearch"
temp_dir: /var/lib/elasticsearch/tmp
nfs_query: "[?fstype=='nfs' || fstype=='nfs4']"
# Enable or Disable memory locking.
elastic_memory_lock: true
# Elasticsearch plugin list. These plugins will be re-installed whenever the
# playbooks are executed, which ensures the plugins are always upgraded.
# To install plugins from a mirror, the remote attribute can be specified
# with the uri of the plugin zip file.
# elastic_plugins:
# - ingest-attachment:
# remote:
#
elastic_plugins:
- name: ingest-attachment
# Set the logstash search heap size. If this option is undefined the value will
# be derived automatically using 1/4 of the available RAM for logstash and 1/2
# of the available RAM for elasticsearch. The value is expected to be in MiB.
# elastic_heap_size: 10240 # type `int`
# Set the addresses/interfaces for elasticsearch to bind to. If undefined, this
# binds to localhost and the ansible_host and ansible_hostname addresses.
elasticsearch_bind_addresses: ["127.0.0.1", "{{ ansible_host }}", "{{ ansible_hostname }}"]
# Set a master-eligible node to be voting only
# By default this is set to False - all masters can be elected by default
# elasticsearch_voting_only: true
# Allow a slow startup before the systemd notifier module kicks in to extend
# the timeout.
#elastic_systemd_timeout: 75
# Enable Elastic security, including TLS communication between Elasticsearch
# nodes
elastic_security_enabled: False
# elastic_security_cert_bundle: ""
# elastic_security_cert_password: ""