Sha256: f18713068d046de882e3792f95b7215d2689c3142a6d8ac6a3841cfc3eb7093e
Contents?: true
Size: 262 Bytes
Versions: 18
Compression:
Stored size: 262 Bytes
Contents
namespace :ec2 do task :ssh do index = ENV['server'].to_i server = release_roles(:all)[index] if server exec "ssh #{server.user}@#{server.hostname}" else fail "Could not find a server to SSH to at index #{index}." end end end
Version data entries
18 entries across 18 versions & 1 rubygems