# Using submodules for Plugins

**URL:** <https://forum.ansible.com/t/using-submodules-for-plugins/17944>\
**Category:** Ansible Developer\
**Created:** [April 9, 2015, 6:05pm UTC](https://forum.ansible.com/t/using-submodules-for-plugins/17944 "2015-04-09T18:05:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xavier\_Krantz](https://avatars.discourse-cdn.com/v4/letter/x/7bcc69/32.png) [@Xavier\_Krantz](https://forum.ansible.com/u/Xavier_Krantz)\
**Post date:** [April 9, 2015, 6:05pm UTC](https://forum.ansible.com/t/using-submodules-for-plugins/17944/1 "2015-04-09T18:05:32Z")

</div>

Hello every body !

I have opened an issue / featrure request on Ansible Github about the “plugins” usage and distribution : [https://github.com/ansible/ansible/issues/10657](https://github.com/ansible/ansible/issues/10657)  
It may be interesting to have a discussion here about it.

So the main points of the PR are :

- **In source repository** , there is a **“plugins” directory** that is not shipped in the PIP package (I did not checked in the OS distro packages)
- There is documentation on [docs.ansible.com](http://docs.ansible.com) about  
`Lookup_plugins, callback_plugins ...`

but not about the “Inventory” which are presents into the “plugins” dir of [https://github.com/ansible/ansible/](https://github.com/ansible/ansible/)

So, maybe it could be interesting to extract this directory to its own repo “ansible-plugins” and refer it via submodules like for the “ansible-modules-core” and “ansible-module-extra”.

What do you think ?

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [April 9, 2015, 6:07pm UTC](https://forum.ansible.com/t/using-submodules-for-plugins/17944/2 "2015-04-09T18:07:09Z")

</div>

I would make the modules-core/extras the repositories of all plugins,  
not just task plugins.
