Ok, I just pushed an update that sets app_base_dir in group_vars/all and
then uses it everywhere. I believe the string /opt/wwc only appears in one
place now.  I also added some tags to the nginx tasks so they could be run
with -t nginx.

On Mon, Apr 29, 2013 at 6:12 AM, jarv <notifications@github.com> wrote:

> In playbooks/roles/lms/tasks/main.yml:
>
> >  - include: ../../nginx/tasks/nginx_site.yml state=link site_name=lms
> >  - include: ../../nginx/tasks/nginx_site.yml state=link site_name=lms-backend
> > +
> > +# Install ssh keys for ubuntu account to be able to check out from mitx
> > +# Temprory behavior, not needed after June 1. Perhaps still useful as a recipe.
> > +- name: install read-only ssh key for mitx repo (private)
> > +  copy: src=vars/secure/ssh_deploy_private dest=/home/ubuntu/.ssh/id_rsa force=yes owner=ubuntu group=ubuntu mode=600
> > +- name: install read-only ssh key for mitx repo (public)
> > +  copy: src=vars/secure/ssh_deploy_public dest=/home/ubuntu/.ssh/id_rsa.pub force=yes owner=ubuntu group=ubuntu mode=644
> > +- name: install read-only ssh key for mitx repo (host github known)
> > +  copy: src=vars/secure/ssh_deploy_known_hosts dest=/home/ubuntu/.ssh/known_hosts force=yes owner=ubuntu group=ubuntu mode=600
> > +
> > +# Check out mitx repo to /opt/wwc
> > +- name: set permissions on /opt/wwc sgid for edx
> > +  file: path=/opt/wwc owner=root group=edx mode=2775 state=directory
> > +  file: path=/opt/wwc/mitx owner=ubuntu group=edx mode=2775 state=directory
>
> propose that we create a $app_base_dir var in group_vars/all in case we
> decide to change the location later.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/edx/configuration/pull/15/files#r3997977>
> .
>