> On Oct 8, 2015, at 10:27, Justin Neel <[email protected]> wrote:
> 
> Ok, so I'm somewhat new to running Vagrant. But I'm getting better. I've been 
> using Ansible as my provisioner of choice. What I would like to do now is 
> create a task that will run a git clone of a hosted repo. It's not github 
> though. It's a little different. And I can't seem to figure out how to handle 
> doing this.
> 
> If I was doing it manually I would run...
> git clone 
> ssh://something.dev.234w31d6b-34fd-4a21-2b35-92346de84a...@something.dev.234w31d6b-34fd-4a21-2b35-92346de84a7d1.drush.in:2222/~/repository.git
>  burris-optics
> 
> And then I would get...
> The authenticity of host '[codeserver.dev. 
> 234w31d6b-34fd-4a21-2b35-92346de84a7d1.drush.in]:2222 
> ([2234:4341:7234:2:be32:4cdd:fd10:792]:2222)' can't be established.
> RSA key fingerprint is c5:fa:33:cb:7g:2b:0d:33:c2:13:27:22:ea:70:c1:a5.
> Are you sure you want to continue connecting (yes/no)? 
> 
> I would type yes and then my password, and then i would get a clone of my 
> repo.

The host key is likely not your problem—having to enter a password is. Ansible 
expects to be able to clone repos unattended. Does your host let you add an SSH 
public key that you can use to authenticate?

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock

-- 
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/EE021FE9-A16B-4791-92A0-11A39B2C424D%40softwareforgood.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to