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
1f6c9356
Commit
1f6c9356
authored
Jul 17, 2018
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for mongol edx
parent
81609061
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
15 deletions
+18
-15
playbooks/edx_sandbox.yml
+1
-1
playbooks/roles/common_vars/defaults/main.yml
+1
-1
playbooks/roles/edxapp/tasks/deploy.yml
+13
-13
playbooks/roles/nltk/defaults/main.yml
+3
-0
No files found.
playbooks/edx_sandbox.yml
View file @
1f6c9356
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
vars
:
vars
:
migrate_db
:
"
yes"
migrate_db
:
"
yes"
EDXAPP_LMS_NGINX_PORT
:
'
80'
EDXAPP_LMS_NGINX_PORT
:
'
80'
edx_platform_version
:
'
open-release
-mongol/ginkgo.2
'
edx_platform_version
:
'
open-release
/ginkgo.master
'
# Set to false if deployed behind another proxy/load balancer.
# Set to false if deployed behind another proxy/load balancer.
NGINX_SET_X_FORWARDED_HEADERS
:
True
NGINX_SET_X_FORWARDED_HEADERS
:
True
DISCOVERY_URL_ROOT
:
'
http://localhost:{{
DISCOVERY_NGINX_PORT
}}'
DISCOVERY_URL_ROOT
:
'
http://localhost:{{
DISCOVERY_NGINX_PORT
}}'
...
...
playbooks/roles/common_vars/defaults/main.yml
View file @
1f6c9356
...
@@ -50,7 +50,7 @@ COMMON_ENVIRONMENT: 'default_env'
...
@@ -50,7 +50,7 @@ COMMON_ENVIRONMENT: 'default_env'
COMMON_DEPLOYMENT
:
'
default_deployment'
COMMON_DEPLOYMENT
:
'
default_deployment'
COMMON_PIP_VERBOSITY
:
'
'
COMMON_PIP_VERBOSITY
:
'
'
COMMON_PYPI_MIRROR_URL
:
'
https://pypi.tuna.tsinghua.edu.cn/simple'
COMMON_PYPI_MIRROR_URL
:
'
https://pypi.tuna.tsinghua.edu.cn/simple'
COMMON_NPM_MIRROR_URL
:
'
https://registry.npm
js
.org'
COMMON_NPM_MIRROR_URL
:
'
https://registry.npm
.taobao
.org'
COMMON_UBUNTU_APT_KEYSERVER
:
"
http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search="
COMMON_UBUNTU_APT_KEYSERVER
:
"
http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search="
COMMON_EDX_PPA
:
"
deb
http://ppa.edx.org
{{
ansible_distribution_release
}}
main"
COMMON_EDX_PPA
:
"
deb
http://ppa.edx.org
{{
ansible_distribution_release
}}
main"
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
1f6c9356
...
@@ -45,19 +45,19 @@
...
@@ -45,19 +45,19 @@
-
install:base
-
install:base
# Do A Checkout
# Do A Checkout
#
- name: checkout edx-platform repo into {{ edxapp_code_dir }}
-
name
:
checkout edx-platform repo into {{ edxapp_code_dir }}
#
git:
git
:
#
dest: "{{ edxapp_code_dir }}"
dest
:
"
{{
edxapp_code_dir
}}"
#
repo: "{{ edx_platform_repo }}"
repo
:
"
{{
edx_platform_repo
}}"
#
version: "{{ edx_platform_version }}"
version
:
"
{{
edx_platform_version
}}"
#
accept_hostkey: yes
accept_hostkey
:
yes
#
become_user: "{{ edxapp_user }}"
become_user
:
"
{{
edxapp_user
}}"
#
environment:
environment
:
#
GIT_SSH: "{{ edxapp_git_ssh }}"
GIT_SSH
:
"
{{
edxapp_git_ssh
}}"
#
register: edxapp_platform_checkout
register
:
edxapp_platform_checkout
#
tags:
tags
:
#
- install
-
install
#
- install:code
-
install:code
-
name
:
git clean after checking out edx-platform
-
name
:
git clean after checking out edx-platform
shell
:
cd {{ edxapp_code_dir }} && git clean -xdf
shell
:
cd {{ edxapp_code_dir }} && git clean -xdf
...
...
playbooks/roles/nltk/defaults/main.yml
View file @
1f6c9356
...
@@ -7,7 +7,10 @@ NLTK_DATA_DIR: "/usr/local/share/nltk_data"
...
@@ -7,7 +7,10 @@ NLTK_DATA_DIR: "/usr/local/share/nltk_data"
NLTK_DATA
:
NLTK_DATA
:
-
{
path
:
"
taggers/maxent_treebank_pos_tagger"
,
-
{
path
:
"
taggers/maxent_treebank_pos_tagger"
,
url
:
"
http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip"
}
url
:
"
http://nltk.github.io/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip"
}
# url: "/root/files/maxent_treebank_pos_tagger.zip" }
-
{
path
:
"
corpora/stopwords"
,
-
{
path
:
"
corpora/stopwords"
,
url
:
"
http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip"
}
url
:
"
http://nltk.github.io/nltk_data/packages/corpora/stopwords.zip"
}
# url: "/root/files/corpora/stopwords.zip" }
-
{
path
:
"
corpora/wordnet"
,
-
{
path
:
"
corpora/wordnet"
,
# url: "/root/files/wordnet.zip" }
url
:
"
http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip"
}
url
:
"
http://nltk.github.io/nltk_data/packages/corpora/wordnet.zip"
}
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