forked from openedx-unsupported/configuration
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vik Paruchuri
committed
May 1, 2013
1 parent
b487b98
commit 49ac3bb
Showing
12 changed files
with
60 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
*.swp | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[ec2] | ||
regions=all | ||
destination_variable=public_dns_name | ||
vpc_destination_variable=ip_address | ||
vpc_destination_variable=private_ip_address | ||
cache_path=/tmp | ||
cache_max_age=300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-----BEGIN PUBLIC KEY----- | ||
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuBVxqB7lmP7A03jdQDsB | ||
FzSzHKPsAPHRzEZjfECR71P9gitm6ZsyYReoUwhSPDoYtkXFTlckG3Zc+4CVAuT7 | ||
fecT/+JDcKmRrOZ+jXPn/6r0QboCBiBdEbe5BkA7i8X9dj9aW7/OM5VTR6+1k9kF | ||
IB+FVaNf9W+UbSncm5v0u9WRp+MBXaxZ/d2CfZT6Dv/NGVB9lp+HNMvDxeq60wrc | ||
aOgMDmTfl5s/NK30YiWOyeTD7tA+56oNOxvbZyYx4jDZLOE3N0xWK3wCNyG/LQ91 | ||
6wG0TteF6NlV8lYfraTF6PNgFNOuD4u4q4NWgXZ5YFLnBo2mwueuSHiGQSou6z/S | ||
FwIDAQAB | ||
-----END PUBLIC KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDLsSijLucpXK1PCvDucbPc6LTbvfUOQE6QJNFruGUgfYXsqyRNuLpIXtj54Btvm5bNc/lt+aCirJbYPmI1HjrUnPSxt3xsFT1+CzCdMQCVZLXHtb8dAo38Y8tSLEvB6G75Ty0GJySF2YR6OPvZSQwvsRPuLmBsvzENNxIm7kTxfETfPDkH/3h2YPgPgznRhGAWEG7Xl1lE8yH9Tnr0jhpJ1HoPgReWuZHLbIPpCrkR3xWYfESNyMjNmYrOJHICi+yF1fr8c7GTqulqMq2uxkofGE8c9TqLGOvLkPfFlkkz7OGGI+q6Qfy3BntlF7TOkj1HvMPyh8YoqnHxAiUCokWH vik.paruchuri@gmail.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
- hosts: tag_Group_mlapi_prod | ||
vars_files: | ||
- ["{{ secure_file_dir }}/mlapi_prod_vars.yml"] | ||
- ["{{ secure_file_dir }}/users.yml"] | ||
- ["{{ secure_file_dir }}/mlapi_prod_users.yml"] | ||
roles: | ||
- mlapi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
- hosts: | ||
- tag_Group_mlapi_sandbox | ||
vars_files: | ||
- ["{{ secure_file_dir }}/mlapi_sandbox_vars.yml"] | ||
- ["{{ secure_file_dir }}/users.yml"] | ||
- ["{{ secure_file_dir }}/mlapi_sandbox_users.yml"] | ||
roles: | ||
- mlapi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
- hosts: tag_Group_mlapi_stage | ||
vars_files: | ||
- ["{{ secure_file_dir }}/mlapi_stage_vars.yml"] | ||
- ["{{ secure_file_dir }}/users.yml"] | ||
- ["{{ secure_file_dir }}/mlapi_stage_users.yml"] | ||
roles: | ||
- mlapi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
- name: create mlapi application config | ||
template: src=env.json.j2 dest=$app_base_dir/env.json | ||
sudo: True | ||
|
||
- name: create mlapi auth file | ||
template: src=auth.json.j2 dest=$app_base_dir/auth.json | ||
sudo: True | ||
|
||
# Check out mitx repo to $app_base_dir | ||
- 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 | ||
sudo: True | ||
- name: install git and its recommends | ||
apt: pkg=git state=installed install_recommends=yes | ||
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 | ||
- name: git checkout ml-service-api repo into $app_base_dir | ||
git: dest=$app_base_dir/machine-learning repo=git@github.com:edx/machine-learning.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{ auth_config | to_nice_json }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{ env_config | to_nice_json }} |