Commit 1620ae02 by Will Daly

Devstack enables prereq install by default

parent ec87e54a
...@@ -113,6 +113,9 @@ EDXAPP_GRADE_STORAGE_TYPE: 'localfs' ...@@ -113,6 +113,9 @@ EDXAPP_GRADE_STORAGE_TYPE: 'localfs'
EDXAPP_GRADE_BUCKET: 'edx-grades' EDXAPP_GRADE_BUCKET: 'edx-grades'
EDXAPP_GRADE_ROOT_PATH: '/tmp/edx-s3/grades' EDXAPP_GRADE_ROOT_PATH: '/tmp/edx-s3/grades'
# Configure rake tasks in edx-platform to skip Python/Ruby/Node installation
EDXAPP_NO_PREREQ_INSTALL: 1
#-------- Everything below this line is internal to the role ------------ #-------- Everything below this line is internal to the role ------------
#Use YAML references (& and *) and hash merge <<: to factor out shared settings #Use YAML references (& and *) and hash merge <<: to factor out shared settings
...@@ -187,7 +190,7 @@ edxapp_all_req_files: ...@@ -187,7 +190,7 @@ edxapp_all_req_files:
edxapp_environment: edxapp_environment:
LANG: $EDXAPP_LANG LANG: $EDXAPP_LANG
NO_PREREQ_INSTALL: 1 NO_PREREQ_INSTALL: $EDXAPP_NO_PREREQ_INSTALL
SKIP_WS_MIGRATIONS: 1 SKIP_WS_MIGRATIONS: 1
RBENV_ROOT: $edxapp_rbenv_root RBENV_ROOT: $edxapp_rbenv_root
GEM_HOME: $edxapp_gem_root GEM_HOME: $edxapp_gem_root
......
- name: edxapp | setup the edxapp env
notify:
- "edxapp | restart edxapp"
- "edxapp | restart edxapp_workers"
template: >
src=edxapp_env.j2 dest={{ edxapp_app_dir }}/edxapp_env
owner={{ edxapp_user }} group={{ common_web_user }}
mode=0644
tags: deploy
# Do A Checkout # Do A Checkout
- name: edxapp | checkout edx-platform repo into {{edxapp_code_dir}} - name: edxapp | checkout edx-platform repo into {{edxapp_code_dir}}
git: dest={{edxapp_code_dir}} repo={{edx_platform_repo}} version={{edx_platform_commit}} git: dest={{edxapp_code_dir}} repo={{edx_platform_repo}} version={{edx_platform_commit}}
......
...@@ -68,15 +68,6 @@ ...@@ -68,15 +68,6 @@
mode=0750 mode=0750
with_items: service_variants_enabled with_items: service_variants_enabled
- name: edxapp | setup the edxapp env
notify:
- "edxapp | restart edxapp"
- "edxapp | restart edxapp_workers"
template: >
src=edxapp_env.j2 dest={{ edxapp_app_dir }}/edxapp_env
owner={{ edxapp_user }} group={{ common_web_user }}
mode=0644
- include: deploy.yml - include: deploy.yml
- name: edxapp | create a symlink for venv python - name: edxapp | create a symlink for venv python
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
devstack: True devstack: True
edx_platform_commit: 'master' edx_platform_commit: 'master'
mongo_enable_journal: False mongo_enable_journal: False
EDXAPP_NO_PREREQ_INSTALL: 0
vars_files: vars_files:
- "group_vars/all" - "group_vars/all"
roles: roles:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment