Merge pull request #433 from pescobar/add_elastic_option_path.repo

Add support to configure path.repo option in ES. Required for backups/snapshots
This commit is contained in:
Manuel J. Bernal 2020-06-18 18:21:33 +02:00 committed by GitHub
commit cac89f1137
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,7 @@ elasticsearch_reachable_host: 127.0.0.1
elasticsearch_jvm_xms: null
elastic_stack_version: 7.7.0
elasticsearch_lower_disk_requirements: false
elasticsearch_path_repo: []
elasticrepo:
apt: 'https://artifacts.elastic.co/packages/7.x/apt'

View File

@ -6,6 +6,12 @@ path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
bootstrap.memory_lock: true
network.host: {{ elasticsearch_network_host }}
{% if elasticsearch_path_repo | length>0 %}
path.repo:
{% for item in elasticsearch_path_repo %}
- {{ item }}
{% endfor %}
{% endif %}
{% if single_node %}
discovery.type: single-node