# Conflicting versions of wrapped roles in an Ansible project

**URL:** <https://forum.ansible.com/t/conflicting-versions-of-wrapped-roles-in-an-ansible-project/25514>\
**Category:** Ansible Project\
**Tags:** galaxy-ng\
**Created:** [September 18, 2017, 9:09pm UTC](https://forum.ansible.com/t/conflicting-versions-of-wrapped-roles-in-an-ansible-project/25514 "2017-09-18T21:09:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhammerman1](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@jhammerman1](https://forum.ansible.com/u/jhammerman1)\
**Post date:** [September 18, 2017, 9:09pm UTC](https://forum.ansible.com/t/conflicting-versions-of-wrapped-roles-in-an-ansible-project/25514/1 "2017-09-18T21:09:05Z")

</div>

Hello Ansible Project users,

We’d like to have a versioned master role, with wrapper roles that list whichever version of the role they are wrapping in their dependencies. That way we can freely develop features and breaking changes that don’t get rolled out to the teams until they need them. I see that ansible-galaxy can handle version locking and pulling from a private repository, but it seems to me that I would have list the top level roles/ subdirectory as the install target in order for Ansible to build correctly. I suppose we could add the wrapped role to a .gitignore file and then it wouldn’t appear to github a

---

<div class="post-metadata">

**Author:** ![jhammerman1](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@jhammerman1](https://forum.ansible.com/u/jhammerman1)\
**Post date:** [September 18, 2017, 9:12pm UTC](https://forum.ansible.com/t/conflicting-versions-of-wrapped-roles-in-an-ansible-project/25514/2 "2017-09-18T21:12:03Z")

</div>

Miskey, excuse me.

I suppose we could add the wrapped role to a .gitignore file and then it wouldn’t appear to github as a set of files to be added, but that feels kludgy. Perhaps we could create a build subdir in each wrapper role is included in the ansible\_roles\_path of the user initiating plays against the wrapper roles? Or is it possible that I am misunderstanding the problem space?

Thanks in advance for any thoughts or feedback the community can provide on the matter.  
Joseph Hammerman

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [September 18, 2017, 10:55pm UTC](https://forum.ansible.com/t/conflicting-versions-of-wrapped-roles-in-an-ansible-project/25514/3 "2017-09-18T22:55:14Z")

</div>

Not sure if this would help your case  
[https://github.com/ansible/proposals/issues/23](https://github.com/ansible/proposals/issues/23)

---

<div class="post-metadata">

**Author:** ![jhammerman1](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@jhammerman1](https://forum.ansible.com/u/jhammerman1)\
**Post date:** [September 21, 2017, 6:55pm UTC](https://forum.ansible.com/t/conflicting-versions-of-wrapped-roles-in-an-ansible-project/25514/4 "2017-09-21T18:55:45Z")

</div>

Yes great info. Thanks Brian. +1 for developing this feature!  
Joe

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [September 21, 2017, 7:22pm UTC](https://forum.ansible.com/t/conflicting-versions-of-wrapped-roles-in-an-ansible-project/25514/5 "2017-09-21T19:22:59Z")

</div>

proposed .. developed .. remains to be seen.
