# Copy single file from git repo

**URL:** <https://forum.ansible.com/t/copy-single-file-from-git-repo/16917>\
**Category:** Ansible Project\
**Created:** [November 28, 2014, 10:55pm UTC](https://forum.ansible.com/t/copy-single-file-from-git-repo/16917 "2014-11-28T22:55:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![juju](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@juju](https://forum.ansible.com/u/juju)\
**Post date:** [November 28, 2014, 10:55pm UTC](https://forum.ansible.com/t/copy-single-file-from-git-repo/16917/1 "2014-11-28T22:55:12Z")

</div>

New to Ansible. Looking to copy a single file from a public git repo to a project, with the condition that the file should only be copied from the repo if it doesn’t exist in the destination. How would i go about doing this in Ansible? the
