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
88eeaa08
Commit
88eeaa08
authored
Sep 02, 2013
by
Xavier Antoviaque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sandbox-ora: Add xqueue/ORA to sandbox & switch to `virtualenv` role
parent
f6781eab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
15 deletions
+9
-15
playbooks/edx_sandbox.yml
+9
-0
playbooks/roles/ora/tasks/main.yml
+0
-15
No files found.
playbooks/edx_sandbox.yml
View file @
88eeaa08
...
...
@@ -35,3 +35,12 @@
rbenv_user_home
:
"
{{
forum_home
}}"
rbenv_ruby_version
:
"
{{
forum_ruby_version
}}"
-
forum
-
{
role
:
"
xqueue"
,
update_users
:
True
}
-
role
:
virtualenv
virtualenv_user
:
"
edx-ora"
virtualenv_user_home
:
"
/opt/edx-ora"
virtualenv_name
:
"
edx-ora"
-
role
:
ora
ora_user
:
"
edx-ora"
ora_venv_dir
:
"
/opt/edx-ora/virtualenvs/edx-ora"
ease_venv_dir
:
"
/opt/edx-ora/virtualenvs/edx-ora"
playbooks/roles/ora/tasks/main.yml
View file @
88eeaa08
...
...
@@ -3,11 +3,6 @@
# - common/tasks/main.yml
# - nginx/tasks/main.yml
---
-
name
:
ora | Change permissions on datadir
file
:
path={{ora_code_dir}}/../data state=directory owner=www-data group=www-data
tags
:
-
ora
-
name
:
ora | Create ml_models directory
file
:
path={{ora_code_dir}}/../ml_models state=directory owner={{ ora_user }} group={{ ora_user }}
tags
:
...
...
@@ -45,16 +40,6 @@
tags
:
-
ora
-
name
:
ora | create the ora virtual environment
file
:
path={{ ora_venv_dir }} owner=root group=adm mode=2775 state=directory
tags
:
-
ora
-
name
:
ora | bootstrap the ora virtual environment
command
:
/usr/local/bin/virtualenv {{ ora_venv_dir }} --distribute creates={{ora_venv_dir}}/bin/activate
tags
:
-
ora
# Install nginx site
-
include
:
../../nginx/tasks/nginx_site.yml state=link site_name=ora
...
...
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