From 69c38221ecb8656cc98414a3c6c95a338539e164 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Tue, 3 Oct 2023 20:45:15 -0400 Subject: [PATCH] Update .env template and add --diff --- README.md | 2 +- roles/webserver/templates/compose-env.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d51a74c..d747275 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ and services operated by Free I.T. Athens (FRITA). 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 + ansible-playbook -u root -i environments/production --vault-pass-file ./.ansible_vault webserver.yml --diff --check ``` 5. Delete the `.ansible_vault` file when you are done diff --git a/roles/webserver/templates/compose-env.j2 b/roles/webserver/templates/compose-env.j2 index 34bb576..c942d6d 100644 --- a/roles/webserver/templates/compose-env.j2 +++ b/roles/webserver/templates/compose-env.j2 @@ -1,4 +1,4 @@ # {{ ansible_managed }} {% for key, value in webserver.items() %} {{ key }}={{ value }} -{% endfor %} +{% endfor %} \ No newline at end of file