- 03 May, 2013 6 commits
-
-
John Jarvis committed
-
John Jarvis committed
-
John Jarvis committed
-
This rolls the ec2 elb management script into a module. Now if an ELB is added or removed "changed" will return True/False so you can tell if any action was taken based on the coloring of the response (yellow/green).
John Jarvis committed -
Jason Bau committed
-
* Use the 'adm' group for permissioning assets needed during LMS initialization, because ubuntu doesn't have the edx user until it logs out and logs back in.
Joe Blaylock committed
-
- 02 May, 2013 16 commits
-
-
where it can take a {{ service_variant }} param
Jason Bau committed -
Joe Blaylock committed
-
Jason Bau committed
-
* Add ubuntu to edx, restrict git identity access to edx group members
Joe Blaylock committed -
John Jarvis committed
-
Joe Blaylock committed
-
Jason Bau committed
-
John Jarvis committed
-
Jason Bau committed
-
Jason Bau committed
-
Sef Kloninger committed
-
Sef Kloninger 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 -
* Move debian package list to roles/lms/vars/main.yml * Move lms_git_repo to roles/lms/vars/main.yml
Joe Blaylock committed -
Return private DNS names that will be resolvale within the VPC. This way we can define a general SSH config that will work for all hosts.
Sef Kloninger committed -
moved creation of /opt/www and www user into ruby role
Jason Bau committed
-
- 01 May, 2013 4 commits
-
-
* Cleanups in LMS task * Add missing debian packages: libgeos-dev, nodejs * Alphabetize list of debian packages in LMS task
Joe Blaylock 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 -
Jason Bau 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 3 commits
- 29 Apr, 2013 1 commit
-
-
* 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
-
- 26 Apr, 2013 3 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 -
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 2 commits
-
-
John Jarvis committed
-
Looks like there was a copy/paste error, the AMI's that were in there before were the same as Europe. These new ones work.
Sef Kloninger committed
-
- 24 Apr, 2013 5 commits
-
-
Requires the latest ansible to use (you may need to remove and add it again if you are in a virtualenv) See `edxapp_rolling_example.yml` A new module is necessary for ELB information since that is not available in EC2 metadata (which is what ec2_facts fetches). ec2_facts grabs the instance ids and other meta information ec2_elb_facts fetches ELB information elb_reg.py takes an elb and instance id and will either register or deregister. (called as pre and post). `Serial` should be set to the number of instances that you want to operate on simultaneously, currently set to 1.
John Jarvis committed -
John Jarvis committed
-
This keeps vars that are specific to roles with the role, not very well documented except in the playbook example here: https://github.com/ansible/ansible/blob/devel/examples/playbooks/roletest.yml This makes playbooks more concise since you do not have to explicitely include vars for each roles, var_files will still override any of the default values in <role>/vars/main.yml
John Jarvis committed -
Updating default tempalte to point to the multi-instance
John Jarvis committed -
Jason Bau committed
-