6fe1921b25 | ||
---|---|---|
group_vars/production | ||
roles/cce_frontend_prod | ||
.gitignore | ||
README.md | ||
hosts | ||
refresh-frontend-cert.yml | ||
setup-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
Deploying
To deploy, run the setup-frontend-prod
playbook from within the directory containing this repository:
$ ansible-playbook -i hosts setup-frontend-prod.yml --key-file="/path/to/key/on/your/machine"
TODO
- Complete todos from setup-frontend-prod.yml
- Complete refresh-frontend-cert.yml
- Automate installation of Python 3.7 and pip3
- Create playbook to renew HTTPS cert
- Setup Ansible Vault to handle keys