Ansible setup for deploying the CCE Search Flask app
 
Go to file
Dylan DiGeronimo 6fe1921b25 Add skeleton of refresh-frontend-cert 2020-04-09 15:59:27 -04:00
group_vars/production Rename variables to allow for additional ones 2020-04-07 15:25:16 -04:00
roles/cce_frontend_prod Add readme, start fixing deployment tasks 2020-04-08 19:44:05 -04:00
.gitignore Began work on main production tasks 2019-12-11 23:20:40 -05:00
README.md Add skeleton of refresh-frontend-cert 2020-04-09 15:59:27 -04:00
hosts Revert "Revert "Rename host"" 2020-04-08 19:06:01 -04:00
refresh-frontend-cert.yml Add skeleton of refresh-frontend-cert 2020-04-09 15:59:27 -04:00
setup-frontend-prod.yml Revert "Revert "Rename host"" 2020-04-08 19:06:01 -04:00

README.md

CCE Search Ansible Setup

Frontend Server (cce.ebookfoundation.org)

Pre-requisites

  1. Install ansible on your local machine
  2. Ensure you have obtained the SSH key for the server
  3. 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

  1. Complete todos from setup-frontend-prod.yml
  2. Complete refresh-frontend-cert.yml
  3. Automate installation of Python 3.7 and pip3
  4. Create playbook to renew HTTPS cert
  5. Setup Ansible Vault to handle keys