From 671a94063d972df42bbd324986759dc446bc32aa Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Sun, 20 Nov 2022 05:06:20 -0500 Subject: [PATCH] Example production-env clone --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index e832920..2767a71 100644 --- a/README.md +++ b/README.md @@ -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