# lib vs. library

**URL:** <https://forum.ansible.com/t/lib-vs-library/14104>\
**Category:** Ansible Project\
**Created:** [December 9, 2013, 12:32pm UTC](https://forum.ansible.com/t/lib-vs-library/14104 "2013-12-09T12:32:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jens\_Rantil](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@Jens\_Rantil](https://forum.ansible.com/u/Jens_Rantil)\
**Post date:** [December 9, 2013, 12:32pm UTC](https://forum.ansible.com/t/lib-vs-library/14104/1 "2013-12-09T12:32:18Z")

</div>

Hey Ansiblers,

I’ve been using Ansible for the last couple of months. It’s great! I’m already up to speed with contributions/pull requests and I there has been times when I’ve had to read the source code to make sure I understand what an Ansible module has been doing.

That said, I’d say I’m through the beginner’s stage as of now and I thought I should report on a big annoyance that hits me every time I visit the Ansible source code; **There is one ‘lib’ folder and another ‘library’.** (Yes, ‘lib’ is an abbreviation for ‘library’ for those who don’t know it.) Every time I revisit the source code and I don’t know which one I should go into. I can’t be the only mixing them up.

I know I am dropping a bomb here but I suggest that at least one of them should be renamed. However, both of them has their own annoyances, so if you’d ask (naive) me I’d probably

- move ‘/lib/ansible’ to ‘/ansible’ since ‘/lib’ doesn’t contain anything else than…ansible; and
- rename ‘/library’ to ‘/modules’ because that’s what the folder actually contains. This change would would probably also lead to searching for ‘./modules’ relative to playbooks, possibly phasing out ./library.  
Comments on this? Has it been discussed before? Would you be willing to accept pull requests for anything of this kind?

Cheers from Sweden,  
Jens

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [December 9, 2013, 2:34pm UTC](https://forum.ansible.com/t/lib-vs-library/14104/2 "2013-12-09T14:34:53Z")

</div>

We’re not going to move anything at this time.

I think you can get used to it.

---

<div class="post-metadata">

**Author:** ![Jens\_Rantil](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@Jens\_Rantil](https://forum.ansible.com/u/Jens_Rantil)\
**Post date:** [December 10, 2013, 10:33am UTC](https://forum.ansible.com/t/lib-vs-library/14104/3 "2013-12-10T10:33:31Z")

</div>

Hey,

> We’re not going to move anything at this time.

Aight. It’s your call.

> I think you can get used to it.

Sure, and the next thousand users can too. 😉 I’m not thinking of me, but more them.

Cheers,  
Jens

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [December 10, 2013, 2:45pm UTC](https://forum.ansible.com/t/lib-vs-library/14104/4 "2013-12-10T14:45:48Z")

</div>

No one else has had a problem.
