# Getting default library path (or how to override a module)

**URL:** <https://forum.ansible.com/t/getting-default-library-path-or-how-to-override-a-module/14686>\
**Category:** Ansible Project\
**Created:** [March 3, 2014, 6:10pm UTC](https://forum.ansible.com/t/getting-default-library-path-or-how-to-override-a-module/14686 "2014-03-03T18:10:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nolan\_Darilek](https://avatars.discourse-cdn.com/v4/letter/n/919ad9/32.png) [@Nolan\_Darilek](https://forum.ansible.com/u/Nolan_Darilek)\
**Post date:** [March 3, 2014, 6:10pm UTC](https://forum.ansible.com/t/getting-default-library-path-or-how-to-override-a-module/14686/1 "2014-03-03T18:10:21Z")

</div>

Ran into an error in the docker\_image module. I'm working on a PR, but I'd like to test my changes first. So I did this in my Ansible config:

[defaults]  
library = library

My goal is to check the revised docker\_image module into our playbook repo until I fix the issues and submit a PR. However, this doesn't pull in any of the default Ansible modules.

Is there any way to prepend my local library/ directory to the default Ansible path? I'd rather not hard-code /usr/share/ansible.

Thanks.
