Erik Berg de88293f24 Allow longer timeouts for elasticsearch.service
/usr/lib/systemd/system/elasticsearch.service comes with a
TimeoutStartSec=75, which is not enough time for a somewhat busy
E5-2430L v2 @ 2.40GHz to get things going.

We don't want to permanently override that with a default of 75 in
case they decide to bump or remove that timeout in the future.

Change-Id: Ida8668f5548a15a8f597839bd9002585aeea5d1a
2021-03-05 13:01:55 +00:00

53 lines
2.0 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