Troubles with the ansible's git module concerning to git submodules

Hi!

In a Roles’ task I’m trying to clone a repo in develop branch. That repo has git submodules.

During the task which use the ansible’s git module, ansible is hanging up.

If I ssh to the box while ansible is hanged up I can verify that the clone as been made.
Although if I interrupt ansible and ssh to box the clone will be wiped out from there.

Re-running the playbook will result in the same behavior.

The same applies if I clone the repo in the master branch.

Does anyone as already been in this situation?

Cheers,

JPN

repo site may vary

The git module has an “accept_hostkey=yes” option that is intended for this purpose, generally speaking. I’m not sure if you were using it or not though.

If you are still seeing issues submodules, it’s most likely you’re running 1.5.X

There are various fixes to submodule handling on 1.6 (devel) – both applied about two weeks ago on the devel branch, so if you are still seeing issues on devel, let us know by filing a ticket.

Thanks!