ed94da9286 | ||
---|---|---|
group_vars/production | ||
roles/cce_frontend_prod | ||
.gitignore | ||
README.md | ||
hosts | ||
refresh-frontend-cert.yml | ||
server_provisioning_guide.md | ||
setup-frontend-prod.yml | ||
update-frontend-prod.yml |
README.md
CCE Search Ansible Setup
Frontend Server (cce.ebookfoundation.org)
Pre-requisites
- Install
ansible
on your local machine - Ensure you have obtained the SSH key for the server
- Ensure Python 3.7 and pip3 are installed on the server you wish to deploy to
- Complete server setup if not already done (guide to come)
Updating and redeploying
Once new changes have been added to the master branch of the frontend repo, run the update-frontend-prod
playbook:
$ ansible-playbook -i hosts update-frontend-prod.yml --key-file="/path/to/key/on/your/machine"
In-progress Playbooks
- Manually renew HTTPS cert (refresh-frontend-cert)
- Initial server provisioning and deployment (setup-frontend-prod)