Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
c12cfee4
Commit
c12cfee4
authored
7 years ago
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to elasticsearch 1.5
parent
436e26f7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
8 deletions
+10
-8
CHANGELOG.md
+4
-0
docker/build/elasticsearch/Dockerfile
+2
-2
playbooks/roles/elasticsearch/defaults/main.yml
+3
-4
playbooks/roles/elasticsearch/tasks/main.yml
+1
-2
No files found.
CHANGELOG.md
View file @
c12cfee4
-
Role: elasticsearch
-
Replaced
`elasticsearch_apt_key`
and
`elastic_search_apt_keyserver`
with
`elasticsearch_apt_key_url`
-
Updated elasticsearch version to 1.5.0
-
Role: edxapp
-
Set the EDXAPP_IMPORT_EXPORT_BUCKET setting to an empty string
...
...
This diff is collapsed.
Click to expand it.
docker/build/elasticsearch/Dockerfile
View file @
c12cfee4
FROM
edxops/
precise
-common:latest
FROM
edxops/
xenial
-common:latest
MAINTAINER
edxops
ADD
. /edx/app/edx_ansible/edx_ansible
...
...
@@ -9,5 +9,5 @@ RUN /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook elasticsearch.ym
-i
'127.0.0.1,'
WORKDIR
/etc/elasticsearch
CMD
["/usr/share/elasticsearch/bin/elasticsearch","-f"]
CMD
service elasticsearch start && sleep 5 && tail -f /edx/var/log/elasticsearch/elasticsearch.log
EXPOSE
9200 9300
This diff is collapsed.
Click to expand it.
playbooks/roles/elasticsearch/defaults/main.yml
View file @
c12cfee4
...
...
@@ -3,9 +3,8 @@ elasticsearch_app_dir: "{{ COMMON_APP_DIR }}/elasticsearch"
elasticsearch_data_dir
:
"
{{
COMMON_DATA_DIR
}}/elasticsearch"
elasticsearch_log_dir
:
"
{{
COMMON_LOG_DIR
}}/elasticsearch"
elasticsearch_cfg_dir
:
"
{{
COMMON_CFG_DIR
}}/elasticsearch"
elasticsearch_apt_key
:
"
46095ACC8548582C1A2699A9D27D666CD88E42B4"
elasticsearch_apt_keyserver
:
"
ha.pool.sks-keyservers.net"
elasticsearch_repo
:
"
deb
http://packages.elasticsearch.org/elasticsearch/0.90/debian
stable
main"
elasticsearch_apt_key_url
:
"
https://packages.elastic.co/GPG-KEY-elasticsearch"
elasticsearch_repo
:
"
deb
http://packages.elastic.co/elasticsearch/1.5/debian
stable
main"
elasticsearch_package_name
:
"
elasticsearch"
elasticsearch_user
:
"
elasticsearch"
elasticsearch_group
:
"
elasticsearch"
...
...
@@ -14,4 +13,4 @@ elasticsearch_group: "elasticsearch"
# Defaults for a single server installation.
ELASTICSEARCH_CLUSTER_MEMBERS
:
[]
ELASTICSEARCH_HEAP_SIZE
:
"
512m"
ELASTICSEARCH_VERSION
:
"
0.90.13
"
ELASTICSEARCH_VERSION
:
"
1.5.0
"
This diff is collapsed.
Click to expand it.
playbooks/roles/elasticsearch/tasks/main.yml
View file @
c12cfee4
...
...
@@ -31,8 +31,7 @@
-
name
:
Install Elasticsearch repo key
apt_key
:
id
:
"
{{
elasticsearch_apt_key
}}"
keyserver
:
"
{{
elasticsearch_apt_keyserver
}}"
url
:
"
{{
elasticsearch_apt_key_url
}}"
state
:
present
tags
:
-
install
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment