add support to configure path.repo option required for backups/snapshots
This commit is contained in:
parent
9246d7d694
commit
7a7def1626
@ -6,6 +6,7 @@ elasticsearch_reachable_host: 127.0.0.1
|
|||||||
elasticsearch_jvm_xms: null
|
elasticsearch_jvm_xms: null
|
||||||
elastic_stack_version: 7.6.2
|
elastic_stack_version: 7.6.2
|
||||||
elasticsearch_lower_disk_requirements: false
|
elasticsearch_lower_disk_requirements: false
|
||||||
|
elasticsearch_path_repo: []
|
||||||
|
|
||||||
elasticrepo:
|
elasticrepo:
|
||||||
apt: 'https://artifacts.elastic.co/packages/7.x/apt'
|
apt: 'https://artifacts.elastic.co/packages/7.x/apt'
|
||||||
|
|||||||
@ -6,6 +6,12 @@ path.data: /var/lib/elasticsearch
|
|||||||
path.logs: /var/log/elasticsearch
|
path.logs: /var/log/elasticsearch
|
||||||
bootstrap.memory_lock: true
|
bootstrap.memory_lock: true
|
||||||
network.host: {{ elasticsearch_network_host }}
|
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 %}
|
{% if single_node %}
|
||||||
discovery.type: single-node
|
discovery.type: single-node
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user