Ansible setup for deploying the CCE Search Flask app
 
Go to file
Dylan DiGeronimo ed94da9286 Update playbook to comply with new service-based deployment 2020-04-23 17:22:38 -04:00
group_vars/production Update directory name in vars 2020-04-23 17:21:35 -04:00
roles/cce_frontend_prod Reorganize main playbook, not yet done 2020-04-20 17:38:22 -04:00
.gitignore Began work on main production tasks 2019-12-11 23:20:40 -05:00
README.md Simplify readme and add empty provisioning intstructions 2020-04-22 16:56:50 -04:00
hosts Revert "Revert "Rename host"" 2020-04-08 19:06:01 -04:00
refresh-frontend-cert.yml Pushing further changes, still not complete 2020-04-20 18:49:41 -04:00
server_provisioning_guide.md Simplify readme and add empty provisioning intstructions 2020-04-22 16:56:50 -04:00
setup-frontend-prod.yml Revert "Revert "Rename host"" 2020-04-08 19:06:01 -04:00
update-frontend-prod.yml Update playbook to comply with new service-based deployment 2020-04-23 17:22:38 -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
  4. 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)