Commit 90dc3d4d by Feanil Patel

Fold the deploy tasks into the edxapp role.

parent bcb167dc
# Variables used to deploy the CMS and LMS
lms_variant: lms
cms_variant: cms
rbenv_dir: /opt/www/.rbenv
gem_home: /opt/www/.gem
deploy_environment:
NO_PREREQ_INSTALL: 1
SKIP_WS_MIGRATIONS: 1
RBENV_ROOT: "{{ rbenv_dir }}"
GEM_HOME: "{{ gem_home }}"
PATH: "{{ venv_dir }}/bin:{{ platform_code_dir }}/bin:{{ rbenv_dir }}/bin:{{ rbenv_dir }}/shims:{{ gem_home }}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
......@@ -134,3 +134,5 @@
when: "'lms-preview' in service_variants_enabled"
- include: npm.yml
- include: ruby.yml
- include: deploy.yml
......@@ -106,8 +106,19 @@ lms_debian_pkgs:
- zip
- zlib1g-dev
#Ruby Specific Vars
# Ruby Specific Vars
ruby_base: /opt/www
rbenv_root: "{{ ruby_base }}/.rbenv"
ruby_version: "1.9.3-p374"
gem_home: "{{ ruby_base }}/.gem"
# Deploy Specific Vars
lms_variant: lms
cms_variant: cms
deploy_environment:
NO_PREREQ_INSTALL: 1
SKIP_WS_MIGRATIONS: 1
RBENV_ROOT: "{{ rbenv_root }}"
GEM_HOME: "{{ gem_home }}"
PATH: "{{ venv_dir }}/bin:{{ platform_code_dir }}/bin:{{ rbenv_root }}/bin:{{ rbenv_root }}/shims:{{ gem_home }}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
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