# Pin Transitive Role Dependencies?

**URL:** <https://forum.ansible.com/t/pin-transitive-role-dependencies/19137>\
**Category:** Ansible Project\
**Created:** [August 28, 2015, 12:47pm UTC](https://forum.ansible.com/t/pin-transitive-role-dependencies/19137 "2015-08-28T12:47:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dennis.benzinger](https://avatars.discourse-cdn.com/v4/letter/d/d6d6ee/32.png) [@dennis.benzinger](https://forum.ansible.com/u/dennis.benzinger)\
**Post date:** [August 28, 2015, 12:47pm UTC](https://forum.ansible.com/t/pin-transitive-role-dependencies/19137/1 "2015-08-28T12:47:48Z")

</div>

Hello Group,

is it possible to pin all the transitive dependencies of the roles I use to specific versions?  
I want to make sure that no part of my automation code changes behind my back.

For example in Chef this is possible by using a Cheffile.lock or Berksfile.lock  
file for the dependency managers Librarian-Chef respectively Berkshelf.

Is that something you can do with “role requirements files”?

Thanks,  
Dennis Benzinger | hybris
