# Need to know existing code for COPY module in ansible

**URL:** <https://forum.ansible.com/t/need-to-know-existing-code-for-copy-module-in-ansible/28648>\
**Category:** Ansible Project\
**Created:** [September 25, 2018, 6:43pm UTC](https://forum.ansible.com/t/need-to-know-existing-code-for-copy-module-in-ansible/28648 "2018-09-25T18:43:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sangamesh\_Sangamesh](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@Sangamesh\_Sangamesh](https://forum.ansible.com/u/Sangamesh_Sangamesh)\
**Post date:** [September 25, 2018, 6:43pm UTC](https://forum.ansible.com/t/need-to-know-existing-code-for-copy-module-in-ansible/28648/1 "2018-09-25T18:43:33Z")

</div>

Could you please help me ? How can i view code written for existing copy module in ansible.

Need to know the location in my installation. Want review the code written for copy .

Please can get help on this

location : ? in my instllation

file name ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [September 25, 2018, 8:24pm UTC](https://forum.ansible.com/t/need-to-know-existing-code-for-copy-module-in-ansible/28648/2 "2018-09-25T20:24:02Z")

</div>

run `ansible-doc copy|head -n 1 ` , it should show you the location of  
the module file

Also note that copy has 2 parts, the other is the action plugin.
