16eff31777 | ||
---|---|---|
group_vars/production | ||
roles | ||
.gitignore | ||
CCE-Frontend-System-Information-and-Provisioning-Guide.md | ||
README.md | ||
hosts | ||
update-backend-prod.yml | ||
update-frontend-prod.yml |
README.md
CCE Search Ansible Setup
Pre-requisites
- Install
ansible
on your local machine - Ensure you have obtained the SSH key for the EC2 instances
- Provision EC2 instances as needed
Frontend Server (cce.ebookfoundation.org)
For information on how to provision the EC2 instance, see CCE-Frontend-System-Information-and-Provisioning-Guide.md
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"
Backend Server (ec2-18-217-39-134.us-east-2.compute.amazonaws.com)
Updating and redeploying
Note: This playbook currently pulls changes from the NYPL's repository, pending completion of our fork
Once new changes have been added to the master branch of the backend repo, run the update-backend-prod
playbook:
$ ansible-playbook -i hosts update-backend-prod.yml --key-file="/path/to/key/on/your/machine"