Hi

I want to use Vault to load password as variable, so I just do:

    vars_files:
    - vault/passwords.yml


where passwords.yml is just:

password: XXXX



Then:

command: ... --password={{ password }} ...


and here is what I get:

ansible-playbook playbook.yml --ask-vault-pass


playbook: playbook.yml


ERROR: A vault password must be specified to decrypt data

ansible-playbook 1.6


Any hints what am I doing wrong?

Edgars

-- 
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/838d09c6-3131-4863-a18c-5b2e1fc779a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to