How does Ansible copy a module to a remote host?

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!