# git repo with submodules hangs

**URL:** <https://forum.ansible.com/t/git-repo-with-submodules-hangs/18208>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [May 12, 2015, 8:40am UTC](https://forum.ansible.com/t/git-repo-with-submodules-hangs/18208 "2015-05-12T08:40:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Duncan\_Woods](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@Duncan\_Woods](https://forum.ansible.com/u/Duncan_Woods)\
**Post date:** [May 12, 2015, 8:40am UTC](https://forum.ansible.com/t/git-repo-with-submodules-hangs/18208/1 "2015-05-12T08:40:21Z")

</div>

Hi,

I’m using the development version of ansible on ubuntu 14.04.

If I use the git task to clone a repo containing submodules, the playbook hangs. Killing the process and it looks like it clones the non-submodule folders fine but not the submodule folders.

- Using the shell to clone the repo works fine
- The same playbook with a repo without submodules works fine

Is this is a known issue? What would you want for a bug report?

thanks,  
Duncan

---

<div class="post-metadata">

**Author:** ![Vincent\_Van\_der\_Kuss](https://avatars.discourse-cdn.com/v4/letter/v/7c8e57/32.png) [@Vincent\_Van\_der\_Kuss](https://forum.ansible.com/u/Vincent_Van_der_Kuss)\
**Post date:** [May 23, 2016, 2:09pm UTC](https://forum.ansible.com/t/git-repo-with-submodules-hangs/18208/2 "2016-05-23T14:09:31Z")

</div>

Hi Duncan,

I just experienced the same behaviour. I guess it’s a bug. I have thos problem when I specify a version (branch) which has a submodule.

Ansible version: `2.0.2.0 (centos)`

`Vincent`
