This has been a paint point for our team as well, asking for a vault 
password when the playbook has nothing to do with vaulted items. Wish this 
weren't the case. 

On Thursday, October 30, 2014 3:01:01 PM UTC-7, Colin Nichols wrote:
>
> Hi all,
>
> I've been using ansible 1.6.x and I love it -- soo much easier than how 
> I've had to do things in the past :)
>
> I'm running into an issue upgrading to 1.7.x.  Suddenly all my playbooks 
> refuse to run; ansible errors out saying it needs my vault credentials. 
>  The output looks like this:
>
> xkillac4@MHK-01:~/project/ansible$ ansible-playbook unittest.yml 
> ERROR: A vault password must be specified to decrypt 
> /home/xkillac4/project/ansible/group_vars/vagrant/vault.yml
> xkillac4@MHK-01:~/project/ansible$
>
>
> I feel like I may be missing something obvious, and would really 
> appreciate it if someone took a look at my example below.
>
> I boiled the issue down into a toy project, and put it into tarball here: 
> https://www.dropbox.com/s/gu2t7mymyeio838/ansible-testcase.tar.gz?dl=0
> (or for the cautious, in a gist here: 
> https://gist.github.com/c-nichols/aca08301235ddd5b4014
>
> Why does my example error out?  Is it expected behavior, given that I 
> don't need anything from the vault and am not referencing any hosts from 
> the group with the vault?  Why does this example work with ansible prior to 
> 1.7?
>
> What do you guys think?  Am I missing something obvious?
>
> Thanks,
> Colin
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c7f80063-6e17-4499-80dd-bb248294f36e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to