WebApp deployment from a git repo over SSH

Hey all,

I’ve looked through the docs and while I found the git module (which is very cool) but the docs say it only supports git or http. Up until now I’ve done all of my repo cloning/pulling via SSH, and would like to continue the practice. Is it at all possible to deploy an application from a git repo, over SSH (without making that repository available to the world)?

Perhaps I’m just missing part of the functionality (if there’s another way to deploy securely from a git repo) or maybe it’s not built yet, either way I’m curious to hear. Great work on Ansible, I’m very glad I found this when I did, as I was just about to start implementing Puppet everywhere, and this is so much simpler!

Cheers!

Hey all,

I've looked through the docs and while I found the git module (which is very
cool) but the docs say it only supports git or http. Up until now I've done
all of my repo cloning/pulling via SSH, and would like to continue the
practice. Is it at all possible to deploy an application from a git repo,
over SSH (without making that repository available to the world)?

Yeah, that's not actually true, it does support ssh://, provided you
have authorized keys set up for that particular host. If you don't
mind, file a ticket on the docs project so we can correct that.

Perhaps I'm just missing part of the functionality (if there's another way
to deploy securely from a git repo) or maybe it's not built yet, either way
I'm curious to hear. Great work on Ansible, I'm very glad I found this when
I did, as I was just about to start implementing Puppet everywhere, and this
is so much simpler!

Glad to hear it!

Oh, great! Thanks!

I put in a ticket for it.

Cheers!