# Role cannot be found

**URL:** <https://forum.ansible.com/t/role-cannot-be-found/24570>\
**Category:** Ansible Project\
**Created:** [May 24, 2017, 8:08pm UTC](https://forum.ansible.com/t/role-cannot-be-found/24570 "2017-05-24T20:08:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oscar\_Medina](https://avatars.discourse-cdn.com/v4/letter/o/ea666f/32.png) [@oscar\_Medina](https://forum.ansible.com/u/oscar_Medina)\
**Post date:** [May 24, 2017, 8:08pm UTC](https://forum.ansible.com/t/role-cannot-be-found/24570/1 "2017-05-24T20:08:28Z")

</div>

Hi Everyone,

Quick question; I have my project structure as shown below. I am trying to ensure the **Ansible Vagrant Provisioner** runs, but I keep getting this error, any ideas? When I execute “ansible-playbook” command from the Plays folder, this does work…

[![](https://lh3.googleusercontent.com/-z6MBTwllr8M/WSXoCt6ueaI/AAAAAAAAApQ/-qmheH4o3EM2RA4nBE8TGVr65DcojTJGACLcB/s1600/ansibleError.png)](https://lh3.googleusercontent.com/-z6MBTwllr8M/WSXoCt6ueaI/AAAAAAAAApQ/-qmheH4o3EM2RA4nBE8TGVr65DcojTJGACLcB/s1600/ansibleError.png)

---

<div class="post-metadata">

**Author:** ![Daniel\_JD](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@Daniel\_JD](https://forum.ansible.com/u/Daniel_JD)\
**Post date:** [May 30, 2017, 5:16am UTC](https://forum.ansible.com/t/role-cannot-be-found/24570/2 "2017-05-30T05:16:08Z")

</div>

Try to set the

ENV[‘ANSIBLE\_ROLES\_PATH’] =…

in your Vagrantfile.

---

<div class="post-metadata">

**Author:** ![oscar\_Medina](https://avatars.discourse-cdn.com/v4/letter/o/ea666f/32.png) [@oscar\_Medina](https://forum.ansible.com/u/oscar_Medina)\
**Post date:** [May 31, 2017, 3:30pm UTC](https://forum.ansible.com/t/role-cannot-be-found/24570/3 "2017-05-31T15:30:14Z")

</div>

Thanks Daniel! Got it to work.
