[ansible-project] Re: Ansible vault -- "ERROR! playbooks must be a list of plays"

2019-01-17 Thread Tony Chia
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

[ansible-project] Re: Ansible vault -- "ERROR! playbooks must be a list of plays"

2019-01-17 Thread flowerysong
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