# How does Ansible copy a module to a remote host?

**URL:** <https://forum.ansible.com/t/how-does-ansible-copy-a-module-to-a-remote-host/16700>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [November 5, 2014, 2:03pm UTC](https://forum.ansible.com/t/how-does-ansible-copy-a-module-to-a-remote-host/16700 "2014-11-05T14:03:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Cammarata](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Post date:** [November 5, 2014, 2:03pm UTC](https://forum.ansible.com/t/how-does-ansible-copy-a-module-to-a-remote-host/16700/1 "2014-11-05T14:03:58Z")

</div>

Hi Craig,

If you’re running the devel branch (which you should be if you’re wanting to edit module code), the modules are stored in the modules/{core,extras} directories in the main source tree. The path to the docker module specifically is lib/ansible/modules/core/cloud/docker/docker.py.

If you have any questions about code or sending us pull requests, head over to the ansible-devel list.

Thanks!
