Skip to content

Commit

Permalink
Update documentation to reflect the change to open vault
Browse files Browse the repository at this point in the history
  • Loading branch information
anadahz committed Nov 10, 2023
1 parent cbd6b65 commit 5f09705
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ It is assumed that you have a GNU/Linux environment

## Deploy ansible roles

**Note**: You will be prompted for Ansible's vault password
**Note**: You need to be in [ansible](ansible/) directory so that it could call
the file [ansible/open_vault.sh](ansible/open_vault.sh) to open the vault.

### Snowflake proxy

Expand Down Expand Up @@ -79,7 +80,7 @@ To generate the SSH public key you should use the `ansible-vault`
(encryption/decryption utility for Ansible data files), an example command looks
like:

`ansible-vault encrypt_string 'ssh-ed25519 XXX' --name sshkey`
`cd ansible ; ansible-vault encrypt_string 'ssh-ed25519 XXX' --name sshkey`

Example of `users.yml` that will add the user `exampleusr`:

Expand Down Expand Up @@ -177,7 +178,7 @@ List distribution version from all hosts in production inventory:

Use `encrypt_string` to create encrypted variables to embed in inventory file:

`ansible-vault encrypt_string --stdin-name 'variable_name'`
`cd ansible ; ansible-vault encrypt_string --stdin-name 'variable_name'`

**Note:** Do not press Enter after supplying the string. That will add a newline
to the encrypted value.
Expand Down

0 comments on commit 5f09705

Please sign in to comment.