From c5fa55e47569e7ee055f71d224201f9a8c6b55c9 Mon Sep 17 00:00:00 2001 From: Evan Kaufman Date: Wed, 29 Jul 2015 11:06:44 -0500 Subject: [PATCH] Temporarily bypass strict host key checking for rsync of files --- lib/capistrano/tasks/files.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/capistrano/tasks/files.rake b/lib/capistrano/tasks/files.rake index 8c087250..8219b171 100644 --- a/lib/capistrano/tasks/files.rake +++ b/lib/capistrano/tasks/files.rake @@ -2,7 +2,7 @@ namespace :evolve do namespace :files do task :prepare, :path_from, :path_to do |task, args| invoke "evolve:prepare_key" - set :rsync_cmd, "-c 'cd /vagrant && rsync -e \"ssh -i #{fetch(:ssh_keyfile)}\" -avvru --delete --copy-links --progress #{args[:path_from]}/ #{args[:path_to]}/'" + set :rsync_cmd, "-c 'cd /vagrant && rsync -e \"ssh -i #{fetch(:ssh_keyfile)} -o StrictHostKeyChecking=no\" -avvru --delete --copy-links --progress #{args[:path_from]}/ #{args[:path_to]}/'" end task :down do |task|