Additional argument to git module?

9 views
Skip to first unread message

Denise Draper

unread,
Jul 19, 2017, 6:18:21 PM7/19/17
to Ansible Project
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

Pshem Kowalczyk

unread,
Jul 19, 2017, 6:36:01 PM7/19/17
to Ansible Project
You can always use shell or command module to execute git binary directly with necessary arguments.

kind regards
Pshem


--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d8836849-a3c1-4087-b399-edbc059cfa23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages