Skip to content

Commit

Permalink
Merge pull request #6038 from dimagi/sc/india-es5-upgrade
Browse files Browse the repository at this point in the history
india es5 upgrade
  • Loading branch information
shyamkumarlchauhan authored Jul 10, 2023
2 parents e0b2472 + 24526a2 commit 22e923e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions environments/india/public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ DATADOG_ENABLED: True
elasticsearch_endpoint: '{{ groups.elasticsearch.0 }}'
#elasticsearch_memory: '4096m'
elasticsearch_cluster_name: 'indiahqes-1.x'
elasticsearch_version: 2.4.6
elasticsearch_download_sha256: 5f7e4bb792917bb7ffc2a5f612dfec87416d54563f795d6a70637befef4cfc6f.
elasticsearch_version: 5.6.16
elasticsearch_download_sha256: 6b035a59337d571ab70cea72cc55225c027ad142fbb07fd8984e54261657c77f.
elasticsearch_delete_old_logs: True

backup_blobdb: False
Expand Down Expand Up @@ -133,7 +133,7 @@ localsettings:
EMAIL_USE_TLS: yes
ENABLE_SOFT_ASSERT_EMAILS: True
ENFORCE_SSO_LOGIN: True
ELASTICSEARCH_MAJOR_VERSION: 2
ELASTICSEARCH_MAJOR_VERSION: 5
ES_CASE_SEARCH_INDEX_NAME: "case_search_2022-10-14"
# Index Multiplexer Settings
ES_APPS_INDEX_MULTIPLEXED: False
Expand Down
Binary file not shown.
5 changes: 2 additions & 3 deletions src/commcare_cloud/ansible/roles/elasticsearch/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@

- name: Download Elasticsearch 5
become: yes
get_url:
url: "https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{ elasticsearch_version }}-linux-x86_64.tar.gz"
copy:
src: "elasticsearch-5.6.16.tar.gz"
dest: "/home/{{ cchq_user }}/downloads/elasticsearch-{{ elasticsearch_version }}.tar.gz"
sha256sum: "{{ elasticsearch_download_sha256 }}"
when: elasticsearch_version == "5.6.16"

- name: Download Elasticsearch 7
Expand Down

0 comments on commit 22e923e

Please sign in to comment.