# Additional argument to git module?

**URL:** <https://forum.ansible.com/t/additional-argument-to-git-module/25023>\
**Category:** Ansible Project\
**Created:** [July 19, 2017, 10:18pm UTC](https://forum.ansible.com/t/additional-argument-to-git-module/25023 "2017-07-19T22:18:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Denise\_Draper](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@Denise\_Draper](https://forum.ansible.com/u/Denise_Draper)\
**Post date:** [July 19, 2017, 10:18pm UTC](https://forum.ansible.com/t/additional-argument-to-git-module/25023/1 "2017-07-19T22:18:21Z")

</div>

I need to be able to supply git clone with the additional argument --no-single-branches, which is not supported directly by the ansible git module.  
Is there an easy way to work around this?

thanks,  
denise

---

<div class="post-metadata">

**Author:** ![Pshem\_Kowalczyk](https://avatars.discourse-cdn.com/v4/letter/p/e480ec/32.png) [@Pshem\_Kowalczyk](https://forum.ansible.com/u/Pshem_Kowalczyk)\
**Post date:** [July 19, 2017, 10:35pm UTC](https://forum.ansible.com/t/additional-argument-to-git-module/25023/2 "2017-07-19T22:35:41Z")

</div>

You can always use shell or command module to execute git binary directly with necessary arguments.

kind regards  
Pshem
