mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-17 02:13:06 -06:00
ITOPSENG-589 updating elasticsearch index data location
This commit is contained in:
@@ -1 +1,3 @@
|
||||
---
|
||||
|
||||
elasticsearch_config_template: {{ atl_product_installation_versioned }}/elasticsearch/config-template/elasticsearch.yml
|
||||
@@ -30,3 +30,9 @@
|
||||
block: |
|
||||
BITBUCKET_SHARED_HOME="{{ atl_product_home_shared }}"
|
||||
export BITBUCKET_SHARED_HOME
|
||||
|
||||
- name: Make sure elasticsearch data isn't stored in ${BITBUCKET_HOME}/shared
|
||||
lineinefile:
|
||||
path: "{{ elasticsearch_config_template }}"
|
||||
line: " data: ${BITBUCKET_HOME}/search/data"
|
||||
regexp: "^\s{2}data:\s\$\{BITBUCKET_HOME\}\/shared\/search\/data"
|
||||
Reference in New Issue
Block a user