# Problem with module dependency with ansible 2.0

**URL:** <https://forum.ansible.com/t/problem-with-module-dependency-with-ansible-2-0/19389>\
**Category:** Ansible Project\
**Created:** [September 30, 2015, 2:00pm UTC](https://forum.ansible.com/t/problem-with-module-dependency-with-ansible-2-0/19389 "2015-09-30T14:00:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniele\_Depetrini](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@Daniele\_Depetrini](https://forum.ansible.com/u/Daniele_Depetrini)\
**Post date:** [September 30, 2015, 2:00pm UTC](https://forum.ansible.com/t/problem-with-module-dependency-with-ansible-2-0/19389/1 "2015-09-30T14:00:10Z")

</div>

With today 2.0 (built from sources, latest commit af1f462ba03327e75b386edf655037a417b31ba5), I have a weird behavior with rules dependency. This is the situation:

Playbook does:

- role1
- role2  
…

both role1 and role2 have the same two dependency (of course with different variables):

- depend1
- depend2

Now, role 1 correctly runs both depend1 and depend2 before being executed, while role2 just run depend1. Note if just role2 is run, both dependencies are run.

Is that a knon issue? Any way to progress on this?

Thanks,

Daniele.
