vars_files:
- vault/passwords.ymlpassword: XXXXcommand: ... --password={{ password }} ...ansible-playbook playbook.yml --ask-vault-pass
playbook: playbook.yml
ERROR: A vault password must be specified to decrypt data--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/deb60f30-e945-4dc1-9d6c-acb979ff785c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I just did a quick visual audit of the code where vars_files are loaded, but could see nothing that would break encrypted files.Please file a bug with all the relevant data and I will try to troubleshoot/fix.
On Apr 15, 2014, at 9:01 AM, Edgars <edgars...@gmail.com> wrote:
No, no, it is not in clear text. passwords.yml is encrypted, created with ansible-vault. Here I was just showing its contentEdgars
otrdiena, 2014. gada 15. aprīlis 14:55:47 UTC+2, JP Mens rakstīja:> Any hints what am I doing wrong?
Well, for one, you're confusing the heck out of me... ;)
You want to specify the password to a vault file in clear text in a
playbook so that a task can unlock the vault? If that's the case, this
is all wrong.
Vault is designed to *hide* passwords; I think what you're doing is
security-through-confusion. ;-)
-JP--
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 ansible-project+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/38d60c2e-191d-4673-98e1-48602c13b319%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/0adee127-391a-4c40-8d0c-91418b361bde%40googlegroups.com.