# Vault in combination with a master-playbook

**URL:** <https://forum.ansible.com/t/vault-in-combination-with-a-master-playbook/30681>\
**Category:** Ansible Project\
**Created:** [June 28, 2019, 8:22am UTC](https://forum.ansible.com/t/vault-in-combination-with-a-master-playbook/30681 "2019-06-28T08:22:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![A\_Meier](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@A\_Meier](https://forum.ansible.com/u/A_Meier)\
**Post date:** [June 28, 2019, 8:22am UTC](https://forum.ansible.com/t/vault-in-combination-with-a-master-playbook/30681/1 "2019-06-28T08:22:08Z")

</div>

Hi,

I am new to Ansible and have a questions about Vault in combination with a master-playbook.  
In the role-initialsetup in the default/main.yml the content is encrypted and the playbook play’s with these settings fine:  
ansible-playbook --ask-vault-pass sites.yml --tags “role-initialsetup” --limit [gonzales.net](http://gonzales.net)

But if I play the others roles like role-haproxy or role-java both will fail with the message:  
“ERROR! Attempting to decrypt but no vault secrets found”

How to correct this? What I’m missing?

Content of sites.yml
