From 7048aa8418be74c4039b02ba7e40aa4ebbf98242 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Fri, 25 Nov 2022 00:57:02 -0500 Subject: [PATCH] Add Ansible Vault instructions to README --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 4b99969..2f3eca4 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,22 @@ and services operated by Free I.T. Athens (FRITA). 5. Delete the `.ansible_vault` file when you are done +### Using Ansible Vault to add or rotate values +Do not submit ciphertext into Ansible Vault with the indention formatting.
+To submit, press `CTRL+d` twice. + +- Decrypt Ansible Vault values + + ``` + ansible-vault decrypt --vault-pass-file .ansible_vault + ``` + +- Encrypt new Ansible Vault values + + ``` + ansible-vault encrypt --vault-pass-file .ansible_vault + ``` + ## Authors * **Kris Lamoureux** - *Project Founder* - [@krislamo](https://github.com/krislamo)