appsembler / configuration

a simple, but flexible, way for anyone to stand up an instance of the edX platform that is fully configured and ready-to-go
GNU Affero General Public License v3.0
15 stars 13 forks source link

add custom domains playbook #237

Closed thraxil closed 5 years ago

thraxil commented 5 years ago

This adds a playbook just for adding custom domains. It serves two purposes: 1) it includes only the roles necessary for the task (instead of running the full amc.yml playbook with tags to restrict it to those roles) which makes things much simpler for debugging and 2) it runs the letsencrypt role before nginx, which is needed when we set up a new custom domain (the nginx configs expect that the SSL cert is already there) but breaks when installing a new Tahoe deployment. That lets us keep the ordering in amc.yml that will work on a new Tahoe deployment but have the order right for Tahoe Cert Agent to run when adding a custom domain.