Example production-env clone
This commit is contained in:
parent
51b6f3b843
commit
671a94063d
@ -14,12 +14,20 @@ and services operated by Free I.T. Athens (FRITA).
|
||||
|
||||
## Production
|
||||
1. Clone [production-env](https://github.com/freeitathens/production-env/) to `./environments`
|
||||
|
||||
```
|
||||
mkdir -p environments
|
||||
git clone git@github.com:freeitathens/production-env.git ./environments
|
||||
```
|
||||
|
||||
2. Run `./scripts/vault-key.sh` from the root of the project to obtain the Ansible Vault password
|
||||
3. Enter the Bitwarden Master Password
|
||||
4. Run `ansible-playbook` against the production servers, e.g.,
|
||||
|
||||
```
|
||||
ansible-playbook -u root -i environments/production --vault-pass-file ./.ansible_vault webserver.yml --check
|
||||
```
|
||||
|
||||
5. Delete the `.ansible_vault` file when you are done
|
||||
|
||||
## Authors
|
||||
|
Loading…
Reference in New Issue
Block a user