It's a lot easier if you just encrypt the value and not the whole file so
you can find where a variable is defined.
For example
ansible-vault encrypt_string --vault-id dev@password 'fdev' --name
'the_dev_secret'
Result:
the_dev_secret: !vault |
$ANSIBLE_VAULT;1.2;AES256;dev
On Thursday, January 17, 2019 at 11:35:12 AM UTC-5, John Harmon wrote:
>
>
> I wouldn't be surprised if I am using this incorrectly, but I could use
> some outside input. Consider the following tree (not in a role):
> .
> ├── get_user_info.yml
> └── vault.yml
>
>
> *Q1: I had to use vars_files