I've read a couple posts like this one

- 
http://vicendominguez.blogspot.com/2014/05/ansible-generating-pub-key-file-and.html#comment-form

But still no luck, but I wanted to know if I'm going about this the right 
or wrong way.

The problem:

I've created a Vagrant and I'm using Ansible to provision it, this is 
working great! The problem comes into play when I need to checkout my 
project which is in a Private Repository (Atlassian Stash aka Bitbucket aka 
git). I'd like to use my SSH key that I have configured on Atlassian Stash 
to pull down the project onto the Vagrant I have running but in order to do 
this I would need to copy my existing private SSH key onto my Vagrant. 
Which I do not want to do. I thought about generating a new key on the 
Vagrant box itself and then pushing the new public ket to Atlassian Stash 
via the API but this still needs me to authenticate with Atlassian Stash.

Also I'd like to use the same Ansible playbook to provision my Production 
Server in the future so I'm trying to keep the process the same.

I've looked a little into Ansible Vault but have not played with it..

Am I going about this the right way? what have others done?

Thanks,
--Pafford

-- 
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/6d7c4737-3636-44e7-bb10-67340caa358a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to