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!


On Fri, Apr 11, 2014 at 8:35 AM, Balpreet Singh
<[email protected]>wrote:

> - name: ensure known hosts
>   shell: touch ~/.ssh/known_hosts
>
> - name: remove bitbucket.org from known host
>   shell: ssh-keygen -R bitbucket.org
>
> - name: ensure bitbucket.org in known host
>   shell: ssh-keyscan -H bitbucket.org > ~/.ssh/known_hosts
>
>
> repo site may vary
>
>
> On Wednesday, March 19, 2014 2:49:51 PM UTC+5:30, José Pinheiro Neta wrote:
>>
>> 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
>>
>  --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/aaf6e443-5047-43b2-8364-20bd17a68e26%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/aaf6e443-5047-43b2-8364-20bd17a68e26%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgx74n9t%2BZzzrYbgnajGn_xL1LrkaM6rKroifnkDa6fDNg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to