# Installing Ansible Modules via Pip?

**URL:** <https://forum.ansible.com/t/installing-ansible-modules-via-pip/20978>\
**Category:** Ansible Project\
**Created:** [March 24, 2016, 10:30am UTC](https://forum.ansible.com/t/installing-ansible-modules-via-pip/20978 "2016-03-24T10:30:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob\_Gregory](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@Bob\_Gregory](https://forum.ansible.com/u/Bob_Gregory)\
**Post date:** [March 24, 2016, 10:30am UTC](https://forum.ansible.com/t/installing-ansible-modules-via-pip/20978/1 "2016-03-24T10:30:54Z")

</div>

Hi, I’m currently working on a set of Ansible Modules that depend on a library I wrote.

I’d like an easy way to distribute the whole lot. Is it possible to install Ansible modules via pip? I’m not entirely clear on how the resolution of module names works, but if I can coerce setup.py into installing my modules into some sensible location, will that work?

– Bob.

---

<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:** [March 24, 2016, 1:50pm UTC](https://forum.ansible.com/t/installing-ansible-modules-via-pip/20978/2 "2016-03-24T13:50:02Z")

</div>

There is no provision for this, also modules can be written in things other than python.

You CAN put the modules in a role and install that using ansible-galaxy.
