- 02 May, 2013 7 commits
-
-
John Jarvis committed
-
* I've moved the example secure directory to playbooks/secure_example, the directory structure in your secure repo should mirror that in secure_example/ * If you run the lms role without a valid git-identity file it will fail, there is an empty file checked into the secure_example dir * Using GIT_SSH env for git checkout, we will also need to use that for pip installs that use git if there are private repos in requirements.
John Jarvis committed -
Install debian and python dependencies for LMS/CMS
jarv committed -
* Move debian package list to roles/lms/vars/main.yml * Move lms_git_repo to roles/lms/vars/main.yml
Joe Blaylock committed -
Some minor ruby role changes
jarv committed -
high-level overview of ssh config
Sef Kloninger committed -
moved creation of /opt/www and www user into ruby role
Jason Bau committed
-
- 01 May, 2013 8 commits
-
-
* Cleanups in LMS task * Add missing debian packages: libgeos-dev, nodejs * Alphabetize list of debian packages in LMS task
Joe Blaylock committed -
Playbook that installs ruby.
jarv committed -
* Create a global variable lms_source_repo to make it easy to update where to pull mitx from when mitx moves * Create global variable venv_base to store location of edx virtual environment, defaults to /opt/edx * Create edx virtual environment to store python modules * Add tags to LMS and CMS tasks to make selective running and testing easier * Install a long, static list of debian packages, which has been manually curated from other edx configurations; this probably needs more attention and in the future should probably be divided better among various roles. * Install the list of python packages distributed with the mitx repository * Install some really useful software, namely mosh and tmux
Joe Blaylock committed -
e0d committed
-
Jason Bau committed
-
adding license
jarv committed -
e0d committed
-
By default it installs 1.9.3-p374 in /opt/www/.rbenv and gems go in /opt/www/.gem, which replicates the vagrant box
Jason Bau committed
-
- 30 Apr, 2013 10 commits
-
-
Feature/e0d/reference architecture
Sef Kloninger committed -
Feature/jbau/env parameterizaton
jarv committed -
Jason Bau committed
-
reduce scaling group minimums to 1 for dev/test
jarv committed -
Sef Kloninger committed
-
don't require 2 caches for dev/test cases
Sef Kloninger committed -
Eventually we might want to set these thresholds to have better ranges, but for trying the stack out I say that we shouldn't require an more than the minimum number of machines.
Sef Kloninger committed -
Also changed top level playbook ymlv var search to follow a path, first over {{ secure_file_dir }} set in group_vars/all then at vars/secure_default
Jason Bau committed -
parameterize availability zones; reformat templ maps
e0d committed -
var empty, so no actual users are created
Jason Bau committed
-
- 29 Apr, 2013 7 commits
-
-
Sef Kloninger committed
-
Added defaults to some of the settings to make it more likely that someone will get a stack up and running on the first try: deployment key and environment tag. Parameterized the availability zones instead of hardcoding them to us-east-1. Each region has it's own notion of what is primary and what is secondary, etc. because it seems that not all capabilities work in all AZ's. Specifically I got this error when trying to create a VPC in us-west-1. > Value (us-west-1b) for parameter availabilityZone is invalid. Subnets > can currently only be created in the following availability zones: > us-west-1c, us-west-1a. For us-east-1 "B" and "C" are still the primary and secondary so EdX shouldn't be affected. But in us-west-1 primary=A and secondary=C. We'll have to learn over time what works best for other regions. Reformatted the mapping sections to make them easier to read. Hope you don't mind. Much terser and easier to eyeball. Terser overall description. Removed the "you'll be billed!" warning.
Sef Kloninger committed -
Change made in other tempates, doing for this template too. At some point there was a copy/paste error and the eu-west-1 was used for us-west-1. See 2cba8413
Sef Kloninger committed -
Jrbl/feature/git checkout
jarv committed -
* Replace hardcoded instances of /opt/wwc with $app_base_dir, which defaults to /opt/wwc. * Add tags to nginx tasks so they can be selected independently.
Joe Blaylock committed -
e0d committed
-
e0d committed
-
- 26 Apr, 2013 4 commits
-
-
Joe Blaylock committed
-
* create_users creates an 'edx' group * create_users task edited to put all admin users in adm and edx groups, * create_users assigns all users a shell * lms installs ssh keys for mitx checkout, creates target dir in /opt/wwc, and checks out the mitx source
Joe Blaylock committed -
change module->library, update the example playbook
jarv committed -
By default ansible will load libs in library/ which means you do not need to specify a module path if you are invoking ansible from the playbooks/ dir. Added some comments to the rolling example
John Jarvis committed
-
- 25 Apr, 2013 4 commits
-
-
jarv committed
-
Bugfixes/jbau/ami and sync hooks
Joe Blaylock committed -
Jason Bau committed
-
Fixing names
jarv committed
-