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
b56b0404
Commit
b56b0404
authored
May 02, 2013
by
vik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Playbook vars, changes
parent
a77bc30e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
2 deletions
+37
-2
playbooks/roles/mlapi/tasks/main.yml
+7
-2
playbooks/roles/mlapi/vars/main.yml
+30
-0
No files found.
playbooks/roles/mlapi/tasks/main.yml
View file @
b56b0404
...
...
@@ -8,12 +8,17 @@
sudo
:
True
# Check out mitx repo to $app_base_dir
-
name
:
Create virtualenv dir
sudo
:
True
file
:
path=/opt/edx state=directory owner=ubuntu group=ubuntu
-
name
:
set permissions on $app_base_dir sgid for edx
file
:
path=$app_base_dir owner=root group=edx mode=2775 state=directory
file
:
path=$app_base_dir owner=ubuntu group=edx mode=2775 state=directory
file
:
path=/opt/edx owner=ubuntu group=edx mode=2775 state=directory
sudo
:
True
-
name
:
install git and its recommends
apt
:
pkg=git state=installed install_recommends=yes
-
name
:
install a bunch of system packages on which mlapi relies
apt
:
pkg={{item}} state=present
with_items
:
mlapi_debian_pkgs
sudo
:
True
-
name
:
git checkout ml-service-api repo into $app_base_dir
git
:
dest=$app_base_dir/ml-service-api repo=git@github.com:edx/ml-service-api.git
...
...
playbooks/roles/mlapi/vars/main.yml
0 → 100644
View file @
b56b0404
mlapi_source_repo
:
git@github.com:edx/ml-service-api.git
ml_source_repo
:
git@github.com:edx/machine-learning.git
mlapi_debian_pkgs
:
-python
-gcc
-g++
-aspell
-python-virtualenv
-build-essential
-python-dev
-gfortran
-libfreetype6-dev
-libpng12-dev
-libxml2-dev
-libxslt-dev
-libreadline6
-libreadline6-dev
-redis-server
-python-pip
-ipython
-nginx
-libmysqlclient-dev
-libblas3gf
-libblas-dev
-liblapack3gf
-liblapack-dev
-libatlas-base-dev
-curl
-yui-compressor
\ No newline at end of file
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