# Difficulty including files with password variables in.

**URL:** <https://forum.ansible.com/t/difficulty-including-files-with-password-variables-in/23606>\
**Category:** Ansible Project\
**Created:** [January 31, 2017, 4:02pm UTC](https://forum.ansible.com/t/difficulty-including-files-with-password-variables-in/23606 "2017-01-31T16:02:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonty\_Needham](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@Jonty\_Needham](https://forum.ansible.com/u/Jonty_Needham)\
**Post date:** [January 31, 2017, 4:02pm UTC](https://forum.ansible.com/t/difficulty-including-files-with-password-variables-in/23606/1 "2017-01-31T16:02:39Z")

</div>

I have the following playbook:

---

<div class="post-metadata">

**Author:** ![Jinesh\_Choksi](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@Jinesh\_Choksi](https://forum.ansible.com/u/Jinesh_Choksi)\
**Post date:** [February 1, 2017, 9:58am UTC](https://forum.ansible.com/t/difficulty-including-files-with-password-variables-in/23606/2 "2017-02-01T09:58:21Z")

</div>

Hard to say with the information given.

Can you add a debug task before the subversion one to confirm that the vault encrypted password is correctly decrypted:

- debug: var=secrets.svn\_pass

If you see its vaule is still in the encrypted form then, confirm if you are running the playbook with Vault correctly by looking at: [link](http://docs.ansible.com/ansible/playbooks_vault.html#running-a-playbook-with-vault)

Also, you can add -vvv to the ansible-playbook command line to get a more verbose output. e.g.

```auto
ansible-playbook -vvv play.yml --ask-vault-pass

```

---

<div class="post-metadata">

**Author:** ![Johannes\_Kastl](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Post date:** [February 5, 2017, 12:54pm UTC](https://forum.ansible.com/t/difficulty-including-files-with-password-variables-in/23606/3 "2017-02-05T12:54:32Z")

</div>

Aren't double curly braces needed here?

password: "{{ secrets.svn\_pass }}"

And: why the secrets prefix? The variable only does not suffice?

Johannes
