# Ansible skips evaluation of dependencies

**URL:** <https://forum.ansible.com/t/ansible-skips-evaluation-of-dependencies/18182>\
**Category:** Ansible Project\
**Created:** [May 7, 2015, 11:36am UTC](https://forum.ansible.com/t/ansible-skips-evaluation-of-dependencies/18182 "2015-05-07T11:36:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jiri](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@Jiri](https://forum.ansible.com/u/Jiri)\
**Post date:** [May 7, 2015, 11:36am UTC](https://forum.ansible.com/t/ansible-skips-evaluation-of-dependencies/18182/1 "2015-05-07T11:36:28Z")

</div>

I think I have discovered an inconsistent behavior in Ansible when dealing with role dependencies. When I’m trying to use a role through another role twice in the same play, it seems like the second execution of the role skips the evaluation of dependencies. Please see the example bellow:

`

cat \< ./hosts  
localhost ansible\_python\_interpreter=/usr/bin/python2  
END

mkdir -p ./roles/role0/meta  
cat \< ./roles/role0/meta/main.yaml

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [May 7, 2015, 2:26pm UTC](https://forum.ansible.com/t/ansible-skips-evaluation-of-dependencies/18182/2 "2015-05-07T14:26:59Z")

</div>

roles will only be added once unless you allow duplicates, for more  
info [https://docs.ansible.com/playbooks\_roles.html](https://docs.ansible.com/playbooks_roles.html)
