ansistrano / deploy

Ansible role to deploy scripting applications like PHP, Python, Ruby, etc. in a capistrano style
https://ansistrano.com
MIT License
2.37k stars 343 forks source link

Deploy freezes on git strategy if user`s ssh keys require passphrase #242

Closed Ivaylo-Bachvarov closed 7 years ago

Ivaylo-Bachvarov commented 7 years ago

Hey,

Using Ansistrano for many of our projects. Finally got some time to research why it works only one certain machines in our office.

So it terns out that if your ssh key is passphrase protected the deployment freezes here: https://github.com/ansistrano/deploy/blob/master/tasks/update-code/git.yml#L21 without any error message.

ricardclau commented 7 years ago

AFAIK this is how the Ansible git module works and is certainly an issue which I never managed to sort out

Not sure if you have found some workaround somewhere :(

ricardclau commented 7 years ago

Closing as this is not something we can fix but an Ansible git module limitation

kaka-ruto commented 4 years ago

Hi, got a workaround for this?