- 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. For more options, visit https://groups.google.com/d/optout.
