To support variations on our local LMS sites files it is helpful to have
subdirectories where we can store variations. At Stanford I'm using
this so I can store carnegie/lms.j2, a variation on our normal lms.j2.
To use you can call the role like this:
- {'role': 'edxapp', 'openid_workaround': true, 'template_subdir': 'carnegie'}
This would be from your main playbook file, in my case
edx-west/carnegie-prod-app.yml.
While in here I noticed we weren't setting owner or perms on the
sites-available/XX files, fix that.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| edx-east | Loading commit data... | |
| edx-west | Loading commit data... | |
| files | Loading commit data... | |
| group_vars | Loading commit data... | |
| library | Loading commit data... | |
| roles | Loading commit data... | |
| secure_example | Loading commit data... | |
| util | Loading commit data... | |
| vagrant | Loading commit data... | |
| ansible.cfg | Loading commit data... | |
| cloudformation.yml | Loading commit data... | |
| ec2.ini | Loading commit data... | |
| ec2.py | Loading commit data... | |
| edx_jenkins_tests.yml | Loading commit data... | |
| edx_notifier.yml | Loading commit data... | |
| edx_provision_test.yml | Loading commit data... | |
| edx_sandbox.yml | Loading commit data... | |
| edxapp_ref.yml | Loading commit data... | |
| edxapp_rolling_example.yml | Loading commit data... | |
| inventory.ini | Loading commit data... | |
| jenkins-inventory.ini | Loading commit data... | |
| jenkins.yml | Loading commit data... | |
| site.yml | Loading commit data... | |
| stage-ansible.cfg | Loading commit data... | |
| stage-ssh-config | Loading commit data... | |
| vagrant-fullstack.yml | Loading commit data... | |
| vagrant-shortstack-xml.yml | Loading commit data... | |
| vagrant-shortstack.yml | Loading commit data... |