Simplify readme and add empty provisioning intstructions

master
Dylan DiGeronimo 2020-04-22 16:56:50 -04:00
parent 043dc3e40e
commit e960406c4a
2 changed files with 5 additions and 21 deletions

View File

@ -1,13 +1,13 @@
# CCE Search Ansible Setup
# Frontend Server (cce.ebookfoundation.org)
## 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)
## Complete Playbooks
### Updating and redeploying
@ -16,22 +16,6 @@ Once new changes have been added to the master branch of the [frontend repo](htt
$ ansible-playbook -i hosts update-frontend-prod.yml --key-file="/path/to/key/on/your/machine"
```
## In-progress Playbooks
### Initial bootstrapping and deployment
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"
```
### Manually renewing HTTPS cert
If Certbot does not automatically renew the HTTPS certificate, run the `refresh-frontend-cert` playbook:
```
$ ansible-playbook -i hosts refresh-frontend-cert.yml --key-file="/path/to/key/on/your/machine"
```
### TODO
1. Complete setup-frontend-prod.yml
2. Automate installation of Python 3.7 and pip3
3. Setup Ansible Vault to handle keys
### In-progress Playbooks
- Manually renew HTTPS cert (refresh-frontend-cert)
- Initial server provisioning and deployment (setup-frontend-prod)

View File